Metodo IVsProfferCommands.AddCommandBarControl
Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.
Solo per utilizzo interno di Microsoft.
Spazio dei nomi: EnvDTE
Assembly: EnvDTE (in EnvDTE.dll)
Sintassi
'Dichiarazione
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
)
Parametri
- pszCmdNameCanonical
Tipo: System.String
Il nome del comando.
- pCmdBarParent
Tipo: System.Object
Il padre della barra dei comandi.
- dwIndex
Tipo: System.UInt32
L'indice della barra dei comandi.
- dwCmdType
Tipo: System.UInt32
Il tipo di comando.
- ppCmdBarCtrl
Tipo: System.Object%
[out] La barra dei comandi.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.