IColumnMapper::EnumPropInfo 方法 (indexsrv.h)
從屬性清單中取得第一個專案。
語法
HRESULT EnumPropInfo(
[in] ULONG iEntry,
[out] const WCHAR **pwcsName,
[out] DBID **ppPropId,
[out] DBTYPE *pPropType,
[out] unsigned int *puiWidth
);
參數
[in] iEntry
要擷取的第 i 個專案。 請注意,專案是以 0 為基礎。
[out] pwcsName
傳回屬性名稱。
[out] ppPropId
屬性的標識碼。
[out] pPropType
屬性的傳回類型。
[out] puiWidth
傳回屬性寬度。
傳回值
如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 2000 專業版 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows 2000 Server [僅限傳統型應用程式] |
目標平台 | Windows |
標頭 | indexsrv.h |
可轉散發套件 | Windows NT 4.0 選項套件 |