Metoda Commands.Add —

Ten interfejs API obsługuje infrastrukturę programu .NET Framework i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Wewnętrznie w firmie Microsoft tylko.

Przestrzeń nazw:  EnvDTE
Zestaw:  EnvDTE (w EnvDTE.dll)

Składnia

'Deklaracja
Sub Add ( _
    Guid As String, _
    ID As Integer, _
    ByRef Control As Object _
)
void Add(
    string Guid,
    int ID,
    ref Object Control
)
void Add(
    [InAttribute] String^ Guid, 
    [InAttribute] int ID, 
    [InAttribute] Object^% Control
)
abstract Add : 
        Guid:string * 
        ID:int * 
        Control:Object byref -> unit
function Add(
    Guid : String, 
    ID : int, 
    Control : Object
)

Parametry

  • Guid
    Typ: String

    Identyfikator GUID polecenia.

  • ID
    Typ: Int32

    Identyfikator polecenia.

  • Control
    Typ: Object%

    Formant.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Commands Interfejs

Przestrzeń nazw EnvDTE