다음을 통해 공유


GetCommandInfo 메서드

이 API는 .NET Framework 인프라를 지원하며 코드에서 직접 사용할 수 없습니다.

네임스페이스:  Microsoft.DataWarehouse.Interfaces
어셈블리:  Microsoft.DataWarehouse.Interfaces.dll의 Microsoft.DataWarehouse.Interfaces

구문

‘선언
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