Compartilhar via


Construtor InputDescriptor (String, Type, String, String, AutoAssignedInput, Type, Type)

Inicializa uma nova instância de InputDescriptor classe usando parâmetros fornecidos.

Namespace:  Microsoft.Data.Schema.Tools.DataGenerator
Assembly:  Microsoft.Data.Schema.Tools (em Microsoft.Data.Schema.Tools.dll)

Sintaxe

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

Parâmetros

  • key
    Tipo: System.String
    A chave que identifica exclusivamente o valor de entrada.Para o gerador de padrão, essa chave é o nome da propriedade.
  • type
    Tipo: System.Type
    O tipo de dados do valor de entrada.
  • name
    Tipo: System.String
    O nome amigável da entrada.Esse nome aparece na Propriedades janela.
  • description
    Tipo: System.String
    A descrição da entrada.Essa descrição aparece no Propriedades janela.
  • typeConverter
    Tipo: System.Type
    O Type do conversor de tipo a ser usado para esta entrada.Um conversor de tipo é usado para mostrar uma lista drop-down no Propriedades janela.

Comentários

O inputType parâmetro pode ter qualquer um do conhecido tipos de entrada AutoAssignedInput define, que incluem Seed(), Nullable(), PercentageNull(), Unique()e assim por diante.

Segurança do .NET Framework

Consulte também

Referência

InputDescriptor Classe

Sobrecargas InputDescriptor

Namespace Microsoft.Data.Schema.Tools.DataGenerator

InputDescriptor

AutoAssignedInput