Condividi tramite


IAgentCommands::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 text for Commands collection
);

Recupera il Caption per un insiemeCommands.

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

pbszCaption

Indirizzo di un oggetto BSTR che riceve il valore dell'impostazione di testocaptionvisualizzata per un insieme Commands.

Vedere anche

IAgentCommands::SetCaption, IAgentCommands::GetVisible, IAgentCommands::GetVoice