共用方式為


IAgentCommand::GetVisible

[Microsoft代理程式從 Windows 7 開始已被取代,而且可能無法在後續版本的 Windows 中使用。]

HRESULT GetVisible(
   long * pbVisible  // address of Visible setting for Command
);

擷取 CommandVisible 屬性的值。

  • 傳回S_OK,表示作業成功。

pbVisible

接收 CommandVisible 屬性之變數的位址。

另請參閱

IAgentCommand::SetVisibleIAgentCommand::SetCaptionIAgentCommands::AddIAgentCommands::Insert