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: String
dwType
Type: EnvDTE.vsCommandBarType
pCmdBarParent
Type: Object
dwIndex
Type: UInt32
ppCmdBar
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.