ICommandTargetMenuService.GetCommandInfo Method
This API supports the infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.DataWarehouse.Interfaces
Assembly: Microsoft.DataWarehouse.Interfaces (in Microsoft.DataWarehouse.Interfaces.dll)
Syntax
'Declaration
Function GetCommandInfo ( _
commandId As CommandID, _
<OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
'Usage
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
Parameters
- commandId
Type: System.ComponentModel.Design.CommandID
- menuCommand
Type: System.ComponentModel.Design.MenuCommand%
Return Value
Type: System.Boolean