Metoda VCCodeStruct.RemoveInterface —

Usuwa interfejs z listy implementowane interfejsy.

Przestrzeń nazw:  Microsoft.VisualStudio.VCCodeModel
Zestaw:  Microsoft.VisualStudio.VCCodeModel (w Microsoft.VisualStudio.VCCodeModel.dll)

Składnia

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

Parametry

  • Element
    Typ: Object

    Wymagane.A CodeElement lub nazwa jednej z nich w kolekcji.

Uwagi

RemoveInterfaceUsuwa element kodu z ImplementedInterfaces kolekcji.Element może być albo CodeElement obiekt w kolekcji lub nazwę unikatowy element w kolekcji.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

VCCodeStruct Interfejs

Przestrzeń nazw Microsoft.VisualStudio.VCCodeModel

Inne zasoby

Porady: kompilowanie i uruchamianie kodu modelu obiektów automatyzacji — przykłady