共用方式為


VCCodeClass.RemoveInterface Method

Removes an interface from the list of implemented interfaces.

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

Syntax

'宣告
Sub RemoveInterface ( _
    Element As Object _
)
void RemoveInterface(
    Object Element
)
void RemoveInterface(
    Object^ Element
)
abstract RemoveInterface : 
        Element:Object -> unit 
function RemoveInterface(
    Element : Object
)

Parameters

Remarks

RemoveInterface removes a code element from the ImplementedInterfaces collection. The element can be either a CodeElement object 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