Condividi tramite


IAgentCommand::GetCaption

[Microsoft Agent è deprecato a partire da Windows 7 e potrebbe non essere disponibile nelle versioni successive di Windows.]

HRESULT GetCaption(
   BSTR * pbszCaption  // address of Caption for Command
);

Recupera ilcaptionper un comando .

  • Restituisce S_OK per indicare che l'operazione è stata completata correttamente.

pbszCaption

Indirizzo di un oggetto BSTR che riceve il valore della Caption testo visualizzato per un comando .

Vedere anche

IAgentCommand::SetCaption, IAgentCommand::SetEnabled, IAgentCommand::SetVisible, IAgentCommand::SetVoice, IAgentCommands::Add, IAgentCommands::Insert