IVsProfferCommands2.AddCommandBar 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 AddCommandBar ( _
pszCmdBarName As String, _
dwType As vsCommandBarType, _
pCmdBarParent As Object, _
dwIndex As UInteger, _
<OutAttribute> ByRef ppCmdBar As Object _
)
void AddCommandBar(
string pszCmdBarName,
vsCommandBarType dwType,
Object pCmdBarParent,
uint dwIndex,
out Object ppCmdBar
)
void AddCommandBar(
[InAttribute] String^ pszCmdBarName,
[InAttribute] vsCommandBarType dwType,
[InAttribute] Object^ pCmdBarParent,
[InAttribute] unsigned int dwIndex,
[OutAttribute] Object^% ppCmdBar
)
abstract AddCommandBar :
pszCmdBarName:string *
dwType:vsCommandBarType *
pCmdBarParent:Object *
dwIndex:uint32 *
ppCmdBar:Object byref -> unit
function AddCommandBar(
pszCmdBarName : String,
dwType : vsCommandBarType,
pCmdBarParent : Object,
dwIndex : uint,
ppCmdBar : Object
)
Parameters
- pszCmdBarName
Type: System.String
- dwType
Type: EnvDTE.vsCommandBarType
- pCmdBarParent
Type: System.Object
- dwIndex
Type: System.UInt32
- ppCmdBar
Type: System.Object%
Implements
IVsProfferCommands.AddCommandBar(String, vsCommandBarType, Object, UInt32, 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.