VCCodeStruct.RemoveInterface 方法

從實作介面清單中移除介面。

命名空間:  Microsoft.VisualStudio.VCCodeModel
組件:  Microsoft.VisualStudio.VCCodeModel (在 Microsoft.VisualStudio.VCCodeModel.dll 中)

語法

'宣告
Sub RemoveInterface ( _
    Element As Object _
)
void RemoveInterface(
    Object Element
)
void RemoveInterface(
    Object^ Element
)
abstract RemoveInterface : 
        Element:Object -> unit 
function RemoveInterface(
    Element : Object
)

參數

備註

RemoveInterface 會從 ImplementedInterfaces 集合中移除程式碼項目。這個項目可以是集合中某個 CodeElement 物件,也可以是集合中某個唯一項目的名稱。

.NET Framework 安全性

請參閱

參考

VCCodeStruct 介面

Microsoft.VisualStudio.VCCodeModel 命名空間

其他資源

HOW TO:編譯和執行 Automation 物件模型程式碼範例