初始化 DataViewPropertyDescriptor 选件类的新实例与属性名称和属性。
命名空间: Microsoft.VisualStudio.Data.Framework
程序集: Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)
语法
声明
Public Sub New ( _
name As String, _
ParamArray attributes As Attribute() _
)
public DataViewPropertyDescriptor(
string name,
params Attribute[] attributes
)
public:
DataViewPropertyDescriptor(
String^ name,
... array<Attribute^>^ attributes
)
new :
name:string *
attributes:Attribute[] -> DataViewPropertyDescriptor
public function DataViewPropertyDescriptor(
name : String,
... attributes : Attribute[]
)
参数
- name
类型:System.String
属性名称。
- attributes
类型:array<System.Attribute[]
包含属性的数组。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。