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
声明
Sub RemoveInterface ( _
Element As Object _
)
用法
Dim instance As VCCodeStruct
Dim Element As Object
instance.RemoveInterface(Element)
void RemoveInterface(
Object Element
)
void RemoveInterface(
Object^ Element
)
function RemoveInterface(
Element : Object
)
Parameters
Element
Type: System.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.
Permissions
- 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
Concepts
How to: Compile and Run the Automation Object Model Code Examples