這個類別和它的成員會保留給內部使用,其目的不是要供您的程式碼使用。
命名空間: Microsoft.VisualStudio.Data.Schema.Package.Internal
組件: Microsoft.VisualStudio.Data.Schema.Package (在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
語法
'宣告
Protected Overrides Function CreateCommand ( _
itemId As Integer, _
commandId As CommandID, _
parameters As Object() _
) As MenuCommand
protected override MenuCommand CreateCommand(
int itemId,
CommandID commandId,
Object[] parameters
)
protected:
virtual MenuCommand^ CreateCommand(
int itemId,
CommandID^ commandId,
array<Object^>^ parameters
) override
abstract CreateCommand :
itemId:int *
commandId:CommandID *
parameters:Object[] -> MenuCommand
override CreateCommand :
itemId:int *
commandId:CommandID *
parameters:Object[] -> MenuCommand
protected override function CreateCommand(
itemId : int,
commandId : CommandID,
parameters : Object[]
) : MenuCommand
參數
- itemId
型別:System.Int32
伺服器總管中的項目 ID。
- commandId
型別:System.ComponentModel.Design.CommandID
命令 ID 物件。
- parameters
型別:array<System.Object[]
參數。
傳回值
型別:System.ComponentModel.Design.MenuCommand
命令物件,如果命令 ID 不受支援,則為 null。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。