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