IVsProfferCommands2.AddCommandBar 方法
這個應用程式開發介面支援 .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
)
參數
pszCmdBarName
類型:String
dwType
類型:vsCommandBarType
pCmdBarParent
類型:Object
dwIndex
類型:UInt32
ppCmdBar
類型:Object%
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。