Share via


IVsProfferCommands2.AddCommandBar 方法 (String, vsCommandBarType, Object, UInt32, Object%)

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

僅限 Microsoft 內部使用。

命名空間:  EnvDTE80
組件:  EnvDTE80 (在 EnvDTE80.dll 中)

語法

'宣告
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
)

參數

實作

IVsProfferCommands.AddCommandBar(String, vsCommandBarType, Object, UInt32, Object%)

.NET Framework 安全性

請參閱

參考

IVsProfferCommands2 介面

AddCommandBar 多載

EnvDTE80 命名空間