Picklist Methods |
The Picklist type exposes the following members.
Name | Description | |
---|---|---|
Add |
Add a PicklistItem object to the collection.
| |
CacheName |
Generates the fully-qualified cache name for the specified picklist item.
| |
Clear |
Clears the collection.
| |
Clone |
Returns a copy of the Picklist.
| |
CreateInstance |
Creates or clones the Picklist represented by the provided PicklistItemInfo object.
| |
DisplayTextList |
Gets the delimited list of DisplayText for the items in the picklist.
| |
Equals | (Inherited from Object.) | |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
GetAltText |
Returns the alternative text for a specified keyValue.
| |
GetByName |
Gets the PicklistItem information for the item with the specified name.
Note that StandardPicklist items always have a name distinct from its
text that serves as a constant. This is not necessarily true for the
other picklist types.
| |
GetDisplayText(Object, String) |
Returns the display text for a specified keyValue.
| |
GetDisplayText(Object, String, GetListOptions) |
Returns the display text for a specified keyValue per the specified GetListOptions.
Note that you can use GetDisplayText(String, Object, String, GetListOptions) to perform a safe lookup when it is possible that
the picklist may not exist.
| |
GetDisplayTextClip |
Returns a 'clip' string of the display text separated by the delimiter.
Note that duplicates will be not be included.
| |
GetFirstValueMatch(String, String, Object) |
Finds the first matching item in the collection. The search always starts at the beginning of the list. And performs an exact match search.
| |
GetFirstValueMatch(String, String, GetListOptions, Object) |
Finds the first matching item in the collection. The search always starts at the beginning of the list. And performs a starts with search,
or exact match search, as specified in opts.
Note that if IncludeDisabled is specified, a disabled item will only be matched if there are no matching enabled items.
| |
GetFirstValueMatch(String, String, Boolean, Boolean, Object) |
Finds the first matching item in the collection. The search always starts at the beginning of the list. And performs a starts with search,
or exact match search, as specified.
Note that if allowDisabled is specified, a disabled item will only be matched if there are no matching enabled items.
| |
GetFirstValueMatchStartsWith |
Finds the first matching item in the collection. The search always starts at the beginning of the list. And performs a starts with search.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem |
Return a PicklistItem matching the specified key/discrim.
| |
GetList |
Returns the IList collection of PicklistItem items per the specified options.
Note that any discrimValue comparison is case-insensitive.
| |
GetTagString(String, String) |
Returns a 'tag' string of the picklist contents.
| |
GetTagString(String, String, PicklistTagStringFlags) |
Returns a 'tag' string of the picklist contents per the specified PicklistTagStringFlags.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Returns the value of the object matching the supplied display text.
| |
HasItems |
Determines if the picklist has any items, excluding any null entry. Note that disabled and
discrimmed-out items are included.
| |
ItemValueStatus(String, String) |
Determine the PicklistItemStatus of a value in the picklist.
| |
ItemValueStatus(String, String, String) |
Determine the PicklistItemStatus of a value in the picklist also returning the item's displayText.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Refresh |
Populates the collection.
| |
Sort |
Sort the picklist per the picklist's PicklistAttrs.
| |
Sort(PicklistAttrs) |
Sort the picklist per the specified PicklistAttrs.
| |
ToString | (Inherited from Object.) |
Name | Description | |
---|---|---|
EqualValue |
Determines if the object value is equal to another object. If the two objects are null, then this returns true.
There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways).
If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.) |