ListItem Class

This is a simple list item object that can be used as part of a collection suitable for binding to a combo box, radio button list, list box, etc.

Definition

Namespace: EWSoftware.PDI
Assembly: EWSoftware.PDI (in EWSoftware.PDI.dll) Version: 2023.1.2.0
public class ListItem
Inheritance
Object    ListItem

Remarks

The Windows Forms user controls use this to bind the values and descriptions for the various recurrence options to the combo boxes. The RecurOptsDataSource class methods return collections of these items for the data sources.

Constructors

ListItem Default constructor
ListItem(Object) Constructor
ListItem(Object, String) Constructor

Properties

Display This returns the display text for the item
Value This returns the value of the item

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCode This returns the hash code for the object
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToString This is overridden to return the display value when the item is converted to a string
(Overrides ObjectToString)

See Also