次の方法で共有


IPrintSchemaFeature::p ut_SelectedOption メソッド (printerextension.h)

印刷スキーマ機能要素の選択したオプションを、指定した IPrintSchemaOption 要素に変更します。

このプロパティは書き込み専用です。

構文

HRESULT put_SelectedOption(
  IPrintSchemaOption *pOption
);

パラメーター

pOption

pOption IPrintSchemaOption パラメーター を定義します。

戻り値

HRESULT 値を返します。 プロパティ呼び出しが成功しなかった場合は、適切な HRESULT エラー コードが返されます。

必要条件

要件 価値
サポートされる最小クライアント Windows 8
サポートされる最小サーバー Windows Server 2012
ターゲット プラットフォーム ウィンドウズ
ヘッダー printerextension.h

関連項目

IPrintSchemaFeature

IPrintSchemaOption