Udostępnij przez


Metoda ICommandTargetMenuService.GetCommandInfo

Ten interfejs API obsługuje infrastrukturę programu i nie jest przeznaczony do użycia bezpośrednio w kodzie.

Przestrzeń nazw:  Microsoft.DataWarehouse.Interfaces
Zestaw:  Microsoft.DataWarehouse.Interfaces (w Microsoft.DataWarehouse.Interfaces.dll)

Składnia

'Deklaracja
Function GetCommandInfo ( _
    commandId As CommandID, _
    <OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
'Użycie
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

Wartość zwracana

Typ: System.Boolean