Bagikan melalui


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

'Declaration
Public Sub Remove ( _
    value As Attribute _
)
public void Remove(
    Attribute value
)
public:
void Remove(
    Attribute^ value
)
member Remove : 
        value:Attribute -> unit
public function Remove(
    value : Attribute
)

Parameters

  • value
    Type: 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

See Also

Reference

VirtualTypeBuilder.AttributeCollection Class

Microsoft.VisualStudio.Shell.Design Namespace