IVsProfferCommands.AddCommandBar 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

仅由 Microsoft 内部使用。

命名空间:  EnvDTE
程序集:  EnvDTE(在 EnvDTE.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
)

参数

.NET Framework 安全性

请参见

参考

IVsProfferCommands 接口

EnvDTE 命名空间