VCCodeUnion.RemoveMember Method

Removes a member code construct.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

声明
Sub RemoveMember ( _
    Element As Object _
)
用法
Dim instance As VCCodeUnion
Dim Element As Object

instance.RemoveMember(Element)
void RemoveMember(
    Object Element
)
void RemoveMember(
    Object^ Element
)
function RemoveMember(
    Element : Object
)

Parameters

  • Element
    Type: System.Object

    Required. A CodeElement object or the name of one in the collection.

Remarks

The removed element can be either a CodeElement object that is in the collection or the name of a unique element in the collection.

Permissions

See Also

Concepts

How to: Compile and Run the Automation Object Model Code Examples

Reference

VCCodeUnion Interface

VCCodeUnion Members

Microsoft.VisualStudio.VCCodeModel Namespace