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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。