指定されたパラメーターを使用して、InputDescriptor クラスの新しいインスタンスを初期化します。
名前空間: Microsoft.Data.Schema.Tools.DataGenerator
アセンブリ: Microsoft.Data.Schema.Tools (Microsoft.Data.Schema.Tools.dll 内)
構文
'宣言
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
)
パラメーター
- key
型: System.String
入力値を一意に識別するキー。既定のジェネレーターでは、このキーはプロパティ名になります。
- type
型: System.Type
入力値のデータ型。
- name
型: System.String
入力の表示名です。[プロパティ] ウィンドウには、この名前が表示されます。
- description
型: System.String
入力の説明です。[プロパティ] ウィンドウには、この説明が表示されます。
- inputType
型: Microsoft.Data.Schema.Tools.DataGenerator.AutoAssignedInput
入力の型を示す AutoAssignedInput 列挙体のメンバー。このパラメーターを使用して、あらかじめ定義されているいずれかの入力タイプを指定します。
- typeConverter
型: System.Type
この入力に使用する型コンバーターの Type。[プロパティ] ウィンドウのドロップダウン リストの内容は型コンバーターを使って表示されます。
- uiTypeEditorName
型: System.String
この入力の型エディターの名前です。
解説
inputType パラメーターには、Seed()、Nullable()、PercentageNull()、Unique() など、AutoAssignedInput で定義されている入力タイプのいずれかを指定できます。
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。