PropertyValidatorList Constructor (Boolean, array<String )
Initializes a new instance of the PropertyValidatorList class by using the provided values.
Namespace: Microsoft.Data.Schema.Build
Assembly: Microsoft.Data.Schema (in Microsoft.Data.Schema.dll)
Syntax
'Declaration
Public Sub New ( _
allowNullOrEmpty As Boolean, _
ParamArray validValues As String() _
)
public PropertyValidatorList(
bool allowNullOrEmpty,
params string[] validValues
)
public:
PropertyValidatorList(
bool allowNullOrEmpty,
... array<String^>^ validValues
)
new :
allowNullOrEmpty:bool *
validValues:string[] -> PropertyValidatorList
public function PropertyValidatorList(
allowNullOrEmpty : boolean,
... validValues : String[]
)
Parameters
- allowNullOrEmpty
Type: System.Boolean
true if the value can be nulla null reference (Nothing in Visual Basic); otherwise, false.
- validValues
Type: array<System.String[]
One or more parameters that represent valid string values.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.