VirtualTypeBuilder.AttributeCollection.Remove Method
Removes the first occurrence of a specific Attribute from the VirtualTypeBuilder.AttributeCollection.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public Sub Remove ( _
value As Attribute _
)
public void Remove(
Attribute value
)
Parameters
- value
Type: System.Attribute
The Attribute to remove from the collection.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | value is nulla null reference (Nothing in Visual Basic). |
Remarks
This method does nothing if the attribute is not currently in the 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.