DataViewPropertyDescriptor.SetAttributes 方法

将指定的属性到此属性的特性列表。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Public Sub SetAttributes ( _
    ParamArray values As Attribute() _
)
public void SetAttributes(
    params Attribute[] values
)
public:
void SetAttributes(
    ... array<Attribute^>^ values
)
member SetAttributes : 
        values:Attribute[] -> unit 
public function SetAttributes(
    ... values : Attribute[]
)

参数

备注

此方法枚举属性,因此,每个属性,将调用委托给 SetAttribute

.NET Framework 安全性

请参见

参考

DataViewPropertyDescriptor 类

Microsoft.VisualStudio.Data.Framework 命名空间