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
'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: ObjectRequired. 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples