Compartir a través de


Commands2.Add Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Microsoft internal use only.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
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
)

Parameters

  • Guid
    Type: String

    The GUID of the command.

  • ID
    Type: Int32

    The command ID.

  • Control
    Type: Object%

    The control that appears on the toolbar.

.NET Framework Security

See Also

Reference

Commands2 Interface

EnvDTE80 Namespace