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 _
)
'使用
Dim instance As VirtualTypeBuilder..::.AttributeCollection
Dim value As Attribute
instance.Remove(value)
public void Remove(
Attribute value
)
public:
void Remove(
Attribute^ value
)
public function Remove(
value : Attribute
)
Parameters
value
Type: System.AttributeThe Attribute to remove from the collection.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | value is a null reference (Nothing in Visual Basic). |
Remarks
This method does nothing if the attribute is not currently in the collection.
Permissions
- 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.
See Also
Reference
VirtualTypeBuilder.AttributeCollection Class