This documentation is archived and is not being maintained.

RemoveInterface Method (General Extensibility)

Visual Studio .NET 2003

Removes an interface from the list of implemented interfaces.

Note   This method is not supported for Visual Basic .NET.
[Visual Basic .NET]
Public Sub RemoveInterface( _
   Element As Variant _
[Visual Basic 6]
Sub RemoveInterface( _
   Element As Variant _
HRESULT __stdcall RemoveInterface(
   VARIANT Element
void RemoveInterface(
   object Element
[JScript .NET]
public function RemoveInterface(
   Element : Object


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


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.

See Also

Applies To: CodeClass Object | CodeStruct Object | VCCodeClass Object | VCCodeStruct Object