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 _
)
用法
Dim instance As VCCodeClass
Dim Element As Object

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

Parameters

  • Element
    Type: System.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.

Permissions

See Also

Concepts

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

Reference

VCCodeClass Interface

VCCodeClass Members

Microsoft.VisualStudio.VCCodeModel Namespace