Click or drag to resize
PicklistItems Methods

The PicklistItems type exposes the following members.

Methods
  NameDescription
Public methodAdd(String)
Creates a new picklist item with the specified value and adds it to the list.
Public methodAdd(PicklistItem)
Creates a new picklist item with the specified value and adds it to the list. Duplicate checks are done on the item's name and also on the item's ID, if provided.
Public methodClear
Clears the list of picklist values.
Public methodContains(String)
Returns true if the specified picklist value exists in the collection, and false otherwise.
Public methodContains(PicklistItem)
Returns true if the specified picklist value exists in the collection, and false otherwise.
Public methodEquals
Equals(object)
(Overrides ObjectEquals(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator which can be used to iterate through the picklist items.
Public methodGetHashCode
GetHashCode(object)
(Overrides ObjectGetHashCode.)
Public methodGetNames
Retrieves the names of the picklist values as a string list.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodLookup(Int32)
Retrieves an item with the specified ID.
Public methodLookup(String)
Retrieves an item with the specified value.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments