更新:2007 年 11 月
返回此方法内对应于文档内的给定位置的偏移量。
HRESULT GetOffset(
[in] ISymUnmanagedDocument* document,
[in] ULONG32 line,
[in] ULONG32 column,
[out, retval] ULONG32* pRetVal);
参数
document
[in] 指向文档的指针,针对该文档请求偏移量。line
[in] 文档行,针对该行请求偏移量。column
[in] 文档列,针对该列请求偏移量。pRetVal
[out] 一个指针,指向一个接收偏移量的 ULONG32。
返回值
如果该方法成功,则返回 S_OK;否则,返回 E_FAIL 或某个其他错误代码。
要求
**头文件:**CorSym.idl