IVsProfferCommands2.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: EnvDTE80
Assembly: EnvDTE80 (in EnvDTE80.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: String
pCmdBarParent
Type: Object
dwIndex
Type: UInt32
dwCmdType
Type: UInt32
ppCmdBarCtrl
Type: Object%
.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.