다음을 통해 공유


ISymENCUnmanagedMethod::GetSourceExtentInDocument Method

Gets the smallest start line and largest end line for the method in a specific document.

HRESULT GetSourceExtentInDocument(
    [in]  ISymUnmanagedDocument *document,
    [out] ULONG32* pstartLine,
    [out] ULONG32* pendLine);

Parameters

  • document
    [in] A pointer to the document.

  • pstartLine
    [out] A pointer to a ULONG32 that receives the the start line.

  • pendLine
    [out] A pointer to a ULONG32 that receives the end line.

Return Value

S_OK if the method succeeds; otherwise, E_FAIL or some other error code.

Requirements

Header: CorSym.idl

See Also

Concepts

ISymENCUnmanagedMethod Interface