다음을 통해 공유


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 _
)
‘사용 방법
Dim instance As VirtualTypeBuilder..::..AttributeCollection
Dim value As Attribute

instance.Remove(value)
public void Remove(
    Attribute value
)
public:
void Remove(
    Attribute^ value
)
member Remove : 
        value:Attribute -> unit 
public function Remove(
    value : Attribute
)

Parameters

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

VirtualTypeBuilder.AttributeCollection Members

Microsoft.VisualStudio.Shell.Design Namespace