共用方式為


GetCommandInfo 方法

此 API 支援 基礎結構,但無法直接從您的程式碼使用。

命名空間:  Microsoft.DataWarehouse.Interfaces
組件:  Microsoft.DataWarehouse.Interfaces (在 Microsoft.DataWarehouse.Interfaces.dll 中)

語法

'宣告
Function GetCommandInfo ( _
    commandId As CommandID, _
    <OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
'用途
Dim instance As ICommandTargetMenuService
Dim commandId As CommandID
Dim menuCommand As MenuCommand
Dim returnValue As Boolean

returnValue = instance.GetCommandInfo(commandId, _
    menuCommand)
bool GetCommandInfo(
    CommandID commandId,
    out MenuCommand menuCommand
)
bool GetCommandInfo(
    CommandID^ commandId, 
    [OutAttribute] MenuCommand^% menuCommand
)
abstract GetCommandInfo : 
        commandId:CommandID * 
        menuCommand:MenuCommand byref -> bool 
function GetCommandInfo(
    commandId : CommandID, 
    menuCommand : MenuCommand
) : boolean

傳回值

型別:System. . :: . .Boolean