共用方式為


InputDescriptor 建構函式 (String, Type, String, String)

初始化 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 _
)
public InputDescriptor(
    string key,
    Type type,
    string name,
    string description
)
public:
InputDescriptor(
    String^ key, 
    Type^ type, 
    String^ name, 
    String^ description
)
new : 
        key:string * 
        type:Type * 
        name:string * 
        description:string -> InputDescriptor
public function InputDescriptor(
    key : String, 
    type : Type, 
    name : String, 
    description : String
)

參數

  • key
    型別:System.String
    可唯一識別輸入值的索引鍵。如果是預設產生器,這個索引鍵會是屬性名稱。
  • type
    型別:System.Type
    輸入值的資料型別。
  • name
    型別:System.String
    輸入的易記名稱。這個名稱會顯示於 [屬性] 視窗。
  • description
    型別:System.String
    輸入的描述。這個描述會顯示於 [屬性] 視窗。

.NET Framework 安全性

請參閱

參考

InputDescriptor 類別

InputDescriptor 多載

Microsoft.Data.Schema.Tools.DataGenerator 命名空間

InputDescriptor