Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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.Attribute
The 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.