IVsProfferCommands2.AddCommandBarControl – metoda (String, Object, UInt32, UInt32, Object%)
Toto rozhraní API podporuje infrastrukturu rozhraní .NET Framework a není určeno pro použití přímo v kódu.
Microsoft pouze pro interní použití.
Obor názvů: EnvDTE80
Sestavení: EnvDTE80 (v EnvDTE80.dll)
Syntaxe
'Deklarace
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
)
Parametry
- pszCmdNameCanonical
Typ: System.String
- pCmdBarParent
Typ: System.Object
- dwIndex
Typ: System.UInt32
- dwCmdType
Typ: System.UInt32
- ppCmdBarCtrl
Typ: System.Object%
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.