Método GetCommandInfo
Essa API oferece suporte à infraestrutura do e não se destina a ser usada diretamente no seu código.
Namespace: Microsoft.DataWarehouse.Interfaces
Assembly: Microsoft.DataWarehouse.Interfaces (em Microsoft.DataWarehouse.Interfaces.dll)
Sintaxe
'Declaração
Function GetCommandInfo ( _
commandId As CommandID, _
<OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
'Uso
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
Parâmetros
- commandId
Tipo: System.ComponentModel.Design. . :: . .CommandID
- menuCommand
Tipo: System.ComponentModel.Design. . :: . .MenuCommand%
Valor de retorno
Tipo: System. . :: . .Boolean
Consulte também