共用方式為


IAgentCommands::GetVisible

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

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

擷取 Commands 集合的 Visible 屬性值。

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

pbVisible

接收 Commands 集合之 Visible 屬性值的變數位址。

另請參閱

IAgentCommands::SetVisibleIAgentCommands::SetCaption