DataViewBrowseObject.SetAttributes Method

Sets the attributes for the current browse object.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Public Sub SetAttributes ( _
    ParamArray attributes As Attribute() _
)
'使用
Dim instance As DataViewBrowseObject
Dim attributes As Attribute()

instance.SetAttributes(attributes)
public void SetAttributes(
    params Attribute[] attributes
)
public:
void SetAttributes(
    ... array<Attribute^>^ attributes
)
public function SetAttributes(
    ... attributes : Attribute[]
)

Parameters

  • attributes
    Type: []

    An array of Attribute objects to set or remove.

Remarks

Any existing attributes are not retained. Any specified attributes that are instances of the default attribute are not added to the attribute collection.

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace