CodeStruct2::RemoveInterface Method (Object^)

 

Removes an interface from the list of implemented interfaces.

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

void RemoveInterface(
	Object^ Element
)

Parameters

Element
Type: System::Object^

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

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.

System_CAPS_noteNote

The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same.

Return to top
Show: