共用方式為


VCCodeClass.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 _
)
void RemoveMember(
    Object Element
)
void RemoveMember(
    Object^ Element
)
abstract RemoveMember : 
        Element:Object -> unit 
function RemoveMember(
    Element : Object
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

VCCodeClass Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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