指定されたキー、データ型、名前、説明、入力タイプ、型コンバータ、およびエディタの種類を使用して、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
入力の説明です。[プロパティ] ウィンドウには、この説明が表示されます。
- inputType
型 : Microsoft.Data.Schema.DataGenerator.AutoAssignedInput
入力のタイプ。このパラメータを使用して、あらかじめ定義されているいずれかの入力タイプを指定します。
- typeConverter
型 : System.Type
この入力に使用する型コンバータです。[プロパティ] ウィンドウのドロップダウン リストの内容は型コンバータを使って表示されます。
- uiTypeEditor
型 : System.Type
この入力のエディタの種類。
解説
inputType には、AutoAssignedInput で定義されている既知の入力タイプのいずれか (Seed、Nullable、PercentageNull、Unique など) を指定できます。