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
'Declaración
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
- attributes
Type: array<System.Attribute[]
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.