Aracılığıyla paylaş


InputDescriptor Oluşturucu (String, Type, String, String, AutoAssignedInput, Type, String)

Yeni bir örneğini başlatır InputDescriptor sınıfı kullanarak sağlanan parametreleri.

Ad alanı:  Microsoft.Data.Schema.Tools.DataGenerator
Derleme:  Microsoft.Data.Schema.Tools (Microsoft.Data.Schema.Tools.dll içinde)

Sözdizimi

'Bildirim
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
)

Parametreler

  • key
    Tür: System.String
    Girdi değeri benzersiz olarak tanımlayan anahtar.Varsayılan oluşturucu için bu anahtar özelliği adıdır.
  • name
    Tür: System.String
    Giriş kolay adı.Bu ad görünür Özellikler pencere.
  • description
    Tür: System.String
    Giriş açıklaması.Bu açıklama görünür Özellikler pencere.
  • typeConverter
    Tür: System.Type
    Type , Türü dönüştürücü kullanmak için bu giriş.Türü dönüştürücü bir aşağı açılan liste olarak göstermek için kullanılan Özellikler pencere.
  • uiTypeEditorName
    Tür: System.String
    Bu giriş için tür Düzenleyici adı.

Açıklamalar

inputType Parametresi, tanınmış biri olabilir giriş türleri AutoAssignedInput tanımlar, hangi dahil Seed(), Nullable(), PercentageNull(), Unique()ve benzeri.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

InputDescriptor Sınıf

InputDescriptor Fazla Yük

Microsoft.Data.Schema.Tools.DataGenerator Ad Alanı

InputDescriptor