ISymUnmanagedMethod::GetSequencePoints 方法

更新:2007 年 11 月

获取此方法内的所有序列点。

HRESULT GetSequencePoints(
    [in]  ULONG32  cPoints,
    [out] ULONG32  *pcPoints,
    [in, size_is(cPoints)] ULONG32  offsets[],
    [in, size_is(cPoints)] ISymUnmanagedDocument* documents[],
    [in, size_is(cPoints)] ULONG32  lines[],
    [in, size_is(cPoints)] ULONG32  columns[],
    [in, size_is(cPoints)] ULONG32  endLines[],
    [in, size_is(cPoints)] ULONG32  endColumns[]);

参数

  • cPoints
    [in] 接收 offsets、documents、lines、columns、endLines 和 endColumns 数组的大小的 ULONG32。

  • pcPoints
    [out] 一个指向 ULONG32 的指针,该 ULONG32 接收包含序列点所需的缓冲区的长度。

  • offsets
    [in] 一个数组,用来存储序列点从方法的开始处算起的 Microsoft 中间语言 (MSIL) 偏移量。

  • documents
    [in] 一个数组,用来存储这些序列点所位于的文档。

  • lines
    [in] 一个数组,用来存储这些序列点所位于的文档中的行。

  • columns
    [in] 一个数组,用来存储这些序列点所位于的文档中的列。

  • endLines
    [in] 文档中序列点结束位置所在行的数组。

  • endColumns
    [in] 文档中序列点结束位置所在列的数组。

返回值

如果该方法成功,则返回 S_OK;否则,返回 E_FAIL 或某个其他错误代码。

要求

**头文件:**CorSym.idl

请参见

参考

ISymUnmanagedMethod