Partager via


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

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

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

Microsoft.VisualStudio.Data.Framework Namespace