Sdílet prostřednictvím


InputDescriptor – konstruktor (String, Type, String, String, AutoAssignedInput, Type, String)

Inicializuje novou instanci InputDescriptor třídy pomocí zadané parametry.

Obor názvů:  Microsoft.Data.Schema.Tools.DataGenerator
Sestavení:  Microsoft.Data.Schema.Tools (v Microsoft.Data.Schema.Tools.dll)

Syntaxe

'Deklarace
Public Sub New ( _
    key As String, _
    type As Type, _
    name As String, _
    description As String, _
    inputType As AutoAssignedInput, _
    typeConverter As Type, _
    uiTypeEditorName As String _
)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description,
    AutoAssignedInput inputType,
    Type typeConverter,
    string uiTypeEditorName
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description, 
    AutoAssignedInput inputType, 
    Type^ typeConverter, 
    String^ uiTypeEditorName
)
new : 
        key:string * 
        type:Type * 
        name:string * 
        description:string * 
        inputType:AutoAssignedInput * 
        typeConverter:Type * 
        uiTypeEditorName:string -> InputDescriptor
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput, 
    typeConverter : Type, 
    uiTypeEditorName : String
)

Parametry

  • key
    Typ: System.String
    Klíč, který jedinečně identifikuje vstupní hodnotu.Tento klíč je generátor výchozí název vlastnosti.
  • name
    Typ: System.String
    Popisný název vstup.Tento název se zobrazí v Vlastnosti okna.
  • description
    Typ: System.String
    Popis vstup.Tento popis se zobrazí v Vlastnosti okna.
  • typeConverter
    Typ: System.Type
    Type Typu převaděče pro vstup.Převaděč typ se používá k zobrazení rozevíracího seznamu v Vlastnosti okna.
  • uiTypeEditorName
    Typ: System.String
    Název editoru typu tohoto vstupu.

Poznámky

inputType Parametr může mít některý z známé vstupní typy, které AutoAssignedInput definuje, které zahrnují Seed(), Nullable(), PercentageNull(), Unique()a tak dále.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

InputDescriptor Třída

InputDescriptor – přetížení

Microsoft.Data.Schema.Tools.DataGenerator – obor názvů

InputDescriptor