Version

ListItemMatchMode Enumeration

Constants which define whether to match on the data value or display text when attempting to locate an item in a list.
Syntax
'Declaration
 
Public Enum ListItemMatchMode 
   Inherits System.Enum
public enum ListItemMatchMode : System.Enum 
Members
MemberDescription
DataValueWhen the list is an IValueList implementor, the GetText method is used to determine whether a matching item exists. When the list is an IList implementor, the Contains is used to determine whether a matching item exists.
DisplayTextWhen the list is an IValueList implementor, the GetValue method is used to determine whether a matching item exists. When the list is an IList implementor, the ToString method is called on each member of the list, and that value is compared to the value in question, without regard to case.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also