ValidateSetAttribute Constructor

Definition

Initializes a new instance of the ValidateSetAttribute class

public ValidateSetAttribute (string[] validValues);
Parameters
validValues
String[]

list of valid values

Exceptions

for null arguments

for invalid arguments