共用方式為


IPrintSchemaFeature::p ut_SelectedOption 方法 (printerextension.h)

將 [列印架構功能] 專案的選取選項變更為指定的 IPrintSchemaOption 專案。

此屬性是唯寫的。

語法

HRESULT put_SelectedOption(
  IPrintSchemaOption *pOption
);

參數

pOption

定義 IPrintSchemaOption 參數,pOption

傳回值

傳回 HRESULT 值。 如果屬性呼叫未成功,它會傳回適當的 HRESULT 錯誤碼。

要求

要求 價值
最低支援的用戶端 Windows 8
支援的最低伺服器 Windows Server 2012
目標平臺 窗戶
標頭 printerextension.h

另請參閱

IPrintSchemaFeature

IPrintSchemaOption