使用所提供的键、数据类型、名称和描述初始化 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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。