次の方法で共有


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

指定されたキー、データ型、名前、説明、および入力タイプを使用して、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 _
)
'使用
Dim key As String
Dim type As Type
Dim name As String
Dim description As String
Dim inputType As AutoAssignedInput

Dim instance As New InputDescriptor(key, type, _
    name, description, inputType)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description,
    AutoAssignedInput inputType
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description, 
    AutoAssignedInput inputType
)
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String, 
    inputType : AutoAssignedInput
)

パラメータ

  • key
    型 : System.String
    入力値を一意に識別するためのキーです。既定のジェネレータでは、このキーはプロパティ名になります。
  • type
    型 : System.Type
    入力のデータ型です。
  • name
    型 : System.String
    入力の表示名です。[プロパティ] ウィンドウには、この名前が表示されます。
  • description
    型 : System.String
    入力の説明です。[プロパティ] ウィンドウには、この説明が表示されます。

解説

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

参照

参照

InputDescriptor クラス

InputDescriptor メンバ

InputDescriptor オーバーロード

Microsoft.Data.Schema.DataGenerator 名前空間