次の方法で共有


InputDescriptor コンストラクタ (String, Type, String, String, AutoAssignedInput, Type, Type)

指定されたキー、データ型、名前、説明、入力タイプ、型コンバータ、およびエディタの種類を使用して、InputDescriptor クラスの新しいインスタンスを初期化します。

名前空間 :  Microsoft.Data.Schema.DataGenerator
アセンブリ :  Microsoft.Data.Schema (Microsoft.Data.Schema.dll 内)

構文

'宣言
Public Sub New ( _
    key As String, _
    type As Type, _
    name As String, _
    description As String, _
    inputType As AutoAssignedInput, _
    typeConverter As Type, _
    uiTypeEditor As Type _
)
'使用
Dim key As String
Dim type As Type
Dim name As String
Dim description As String
Dim inputType As AutoAssignedInput
Dim typeConverter As Type
Dim uiTypeEditor As Type

Dim instance As New InputDescriptor(key, type, _
    name, description, inputType, typeConverter, _
    uiTypeEditor)
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
)
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput, 
    typeConverter : Type, 
    uiTypeEditor : Type
)

パラメータ

  • key
    型 : System.String
    入力値を一意に識別するためのキーです。既定のジェネレータでは、このキーはプロパティ名になります。
  • type
    型 : System.Type
    入力のデータ型です。
  • name
    型 : System.String
    入力の表示名です。[プロパティ] ウィンドウには、この名前が表示されます。
  • description
    型 : System.String
    入力の説明です。[プロパティ] ウィンドウには、この説明が表示されます。
  • typeConverter
    型 : System.Type
    この入力に使用する型コンバータです。[プロパティ] ウィンドウのドロップダウン リストの内容は型コンバータを使って表示されます。
  • uiTypeEditor
    型 : System.Type
    この入力のエディタの種類。

解説

inputType には、AutoAssignedInput で定義されている既知の入力タイプのいずれか (SeedNullablePercentageNullUnique など) を指定できます。

参照

参照

InputDescriptor クラス

InputDescriptor メンバ

InputDescriptor オーバーロード

Microsoft.Data.Schema.DataGenerator 名前空間