Partager via


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

Exceptions

Exception Condition
ArgumentNullException

The value parameter is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

DataViewPropertyDescriptor Class

Microsoft.VisualStudio.Data.Framework Namespace