Version

Enumeration Property

Gets/sets an object implementing System.Collections.IEnumerable which contains a list of value options. Note, this property defaults to a null (Nothing) value.
Syntax
'Declaration
 
Public Property Enumeration As IEnumerable
public IEnumerable Enumeration {get; set;}
Remarks

Enumeration constraints data value to be one of the elements that are part of the enumeration. In other words the value being validated by this ValueConstraint object will not be considered valid if the value is not part of this enumeration.

Note: The Enumeration is IEnumerable interface type. Therefore it can be set to any object that implements this interface, including Array, ArrayList etc...

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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