Freigeben über


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

Siehe auch

Referenz

PropertyValidatorList Klasse

PropertyValidatorList-Überladung

Microsoft.Data.Schema.Build-Namespace