使用提供的索引鍵、資料型別、名稱和描述,初始化 OutputDescriptor 類別的新執行個體。
命名空間: 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 OutputDescriptor(
string key,
Type type,
string name,
string description
)
public:
OutputDescriptor(
String^ key,
Type^ type,
String^ name,
String^ description
)
new :
key:string *
type:Type *
name:string *
description:string -> OutputDescriptor
public function OutputDescriptor(
key : String,
type : Type,
name : String,
description : String
)
參數
- key
型別:System.String
用來唯一識別輸出值的索引鍵。如果是預設設計工具,這個索引鍵會是屬性名稱。
- type
型別:System.Type
輸出的資料型別。
- name
型別:System.String
輸出的名稱。
- description
型別:System.String
輸出的描述。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。