IVsProfferCommands.AddCommandBarControl Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Microsoft Internal Use Only.
Namespace: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Sub AddCommandBarControl ( _
pszCmdNameCanonical As String, _
pCmdBarParent As Object, _
dwIndex As UInteger, _
dwCmdType As UInteger, _
<OutAttribute> ByRef ppCmdBarCtrl As Object _
)
void AddCommandBarControl(
string pszCmdNameCanonical,
Object pCmdBarParent,
uint dwIndex,
uint dwCmdType,
out Object ppCmdBarCtrl
)
void AddCommandBarControl(
[InAttribute] String^ pszCmdNameCanonical,
[InAttribute] Object^ pCmdBarParent,
[InAttribute] unsigned int dwIndex,
[InAttribute] unsigned int dwCmdType,
[OutAttribute] Object^% ppCmdBarCtrl
)
abstract AddCommandBarControl :
pszCmdNameCanonical:string *
pCmdBarParent:Object *
dwIndex:uint32 *
dwCmdType:uint32 *
ppCmdBarCtrl:Object byref -> unit
function AddCommandBarControl(
pszCmdNameCanonical : String,
pCmdBarParent : Object,
dwIndex : uint,
dwCmdType : uint,
ppCmdBarCtrl : Object
)
Parameters
- pszCmdNameCanonical
Type: System.String
The name of the command.
- pCmdBarParent
Type: System.Object
The parent of the command bar.
- dwIndex
Type: System.UInt32
The index of the command bar.
- dwCmdType
Type: System.UInt32
The type of the command.
- ppCmdBarCtrl
Type: System.Object%
[out] The command bar 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.