| PicklistItems Methods |
The PicklistItems type exposes the following members.
| Name | Description | |
|---|---|---|
| Add(String) |
Creates a new picklist item with the specified value and adds it to the list.
| |
| Add(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.
| |
| Clear |
Clears the list of picklist values.
| |
| Contains(String) |
Returns true if the specified picklist value exists in the collection, and false otherwise.
| |
| Contains(PicklistItem) |
Returns true if the specified picklist value exists in the collection, and false otherwise.
| |
| Equals | Equals(object) (Overrides ObjectEquals(Object).) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetEnumerator |
Returns an enumerator which can be used to iterate through the picklist items.
| |
| GetHashCode | GetHashCode(object) (Overrides ObjectGetHashCode.) | |
| GetNames |
Retrieves the names of the picklist values as a string list.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| Lookup(Int32) |
Retrieves an item with the specified ID.
| |
| Lookup(String) |
Retrieves an item with the specified value.
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |