Metoda Commands2.Add —

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

Microsoft tylko do użytku wewnętrznego.

Przestrzeń nazw:  EnvDTE80
Zestaw:  EnvDTE80 (w EnvDTE80.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, który pojawia się na pasku narzędzi.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

Commands2 Interfejs

Przestrzeń nazw EnvDTE80