共用方式為


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

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