VCCodeStruct.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

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

Parameters

  • Element
    Type: Object

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

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

VCCodeStruct Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

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