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

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

此屬性是唯寫的。

語法

HRESULT put_SelectedOption(
  IPrintSchemaOption *pOption
);

參數

pOption

定義 IPrintSchemaOption 參數 pOption

傳回值

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

規格需求

需求
最低支援的用戶端 Windows 8
最低支援的伺服器 Windows Server 2012
目標平台 Windows
標頭 printerextension.h

另請參閱

IPrintSchemaFeature

IPrintSchemaOption