ICoNtextLinks::GetCoNtextLink 方法
擷取位於指定索引處的 ICoNtextLink 。
語法
HRESULT GetContextLink(
[in] ULONG ulIndex,
[out] IContextLink **ppContextLink
);
參數
-
ulIndex [in]
-
要取得之 ICoNtextLink 物件的以零起始的索引。
-
ppCoNtextLink [out]
-
位於指定索引處 之 ICoNtextLink 物件的指標。
傳回值
如需傳回值的描述,請參閱 類別和介面 - 筆跡分析。
備註
警告
若要避免記憶體流失,當您不再需要使用內容連結時,請在 *ppCoNtextLink上呼叫IUnknown::Release。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 |
Windows XP Tablet PC Edition [僅限傳統型應用程式] |
最低支援的伺服器 |
都不支援 |
標頭 |
|
DLL |
|