DataViewPropertyDescriptor.SetAttribute Method
Adds the specified attribute to this property's attributes list.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Public Sub SetAttribute ( _
value As Attribute _
)
public void SetAttribute(
Attribute value
)
public:
void SetAttribute(
Attribute^ value
)
member SetAttribute :
value:Attribute -> unit
public function SetAttribute(
value : Attribute
)
Parameters
value
Type: System.AttributeThe attribute to add.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The value parameter is nulla null reference (Nothing in Visual Basic). |
.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.