Click or drag to resize

PicklistItemInfo Class

Holds information about a Picklist (loaded from metadata) stored in the picklist's ItemInfo property.
Inheritance Hierarchy
SystemObject
  NetQuarryPicklistItemInfo

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class PicklistItemInfo : ICloneable, 
	IEAPBase, ICacheable

The PicklistItemInfo type exposes the following members.

Constructors
  NameDescription
Public methodPicklistItemInfo
standard ctor
Top
Properties
  NameDescription
Public propertyAttributes
Gets/sets the PicklistAttrs associated with this item.
Public propertyCacheName
Gets the cache name for the object
Public propertyDataSource
The datasource associated with this item (optional, some Picklists do not need a data source). This is normally a reference to the IDatabase from which to obtain the picklist values.
Public propertyKeyFormat
Gets/sets the .Net format string to use when converting an picklist item's key to a string. Note that the current implementation of this is spotty.
Public propertyMetaInDataDB
Gets/sets whether or not the meta-data for this picklist is stored in the data database (normally it is not).
Public propertyName
Gets/sets the name of the Picklist item.
Public propertyProperties
Gets the Properties collection for this picklist.
Public propertySource
The source of the row source. Typically a SELECT statement with 1-3 (but up to 5) columns.
  1. Column 1 - The Key. Loaded into Value. This is what is stored in the database.
  2. Column 2 - The DisplayText. Loaded into DisplayText. This is what is displayed to the user.
  3. Column 3 - The Discrim. Loaded into Discrim. This is used to create subsets within the picklist (e.g. states for various countries).
  4. Column 4 - The Enabler. Used to control Disabled in Attributes. When this column is in the query the value is treated as an integer where zero/null means disabled and any other value means enabled.
  5. Column 5 - The Group. Loaded into Group.
Public propertyTextItems
Gets the TextItems for this Picklist.
Public propertyType
Gets/sets the PicklistType of the picklist.
Top
Methods
  NameDescription
Public methodClone
Returns a clone of this object
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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
Extension Methods
  NameDescription
Public Extension MethodEqualValue
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.)
Top
See Also