共用方式為


IPrintSchemaOptionCollection::GetAt 方法 (printerextension.h)

取得 IPrintSchemaOption 物件的指標。

語法

HRESULT GetAt(
  [in]                    ULONG              ulIndex,
  [out, retval, optional] IPrintSchemaOption **ppOption
);

參數

[in] ulIndex

集合中 IPrintSchemaOption 物件的索引。

[out, retval, optional] ppOption

IPrintSchemaOption 物件的指標。

傳回值

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

要求

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

另請參閱

IPrintSchemaOption

IPrintSchemaOptionCollection