Méthode GetCommandInfo
Cette API prend en charge l'infrastructure et n'est pas destinée à être utilisée directement à partir de votre code.
Espace de noms : Microsoft.DataWarehouse.Interfaces
Assembly : Microsoft.DataWarehouse.Interfaces (en Microsoft.DataWarehouse.Interfaces.dll)
Syntaxe
'Déclaration
Function GetCommandInfo ( _
commandId As CommandID, _
<OutAttribute> ByRef menuCommand As MenuCommand _
) As Boolean
'Utilisation
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
Paramètres
- commandId
Type : System.ComponentModel.Design. . :: . .CommandID
- menuCommand
Type : System.ComponentModel.Design. . :: . .MenuCommand%
Valeur de retour
Type : System. . :: . .Boolean
Voir aussi