PropertyValidatorList-Konstruktor (Boolean, array<String )
Initialisiert eine neue Instanz der PropertyValidatorList-Klasse unter Verwendung der bereitgestellten Werte.
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[]
)
Parameter
- allowNullOrEmpty
Typ: System.Boolean
true , wenn der Wert nullNULL-Verweis (Nothing in Visual Basic) sein kann, andernfalls false.
- validValues
Typ: array<System.String[]
Ein oder mehrere Parameter, die gültige string-Werte darstellen.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.