Commands.Add Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.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: System.StringThe GUID of the command.
ID
Type: System.Int32The command ID.
Control
Type: System.Object%The control.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.