Partager via


ISymUnmanagedMethod::GetOffset Method

Returns the offset within this method that corresponds to a given position within a document.

HRESULT GetOffset(
    [in]  ISymUnmanagedDocument*  document,
    [in]  ULONG32                 line,
    [in]  ULONG32                 column,
    [out, retval] ULONG32*        pRetVal);

Parameters

  • document
    [in] A pointer to the document for which the offset is requested.
  • line
    [in] The document line for which the offset is requested.
  • column
    [in] The document column for which the offset is requested.
  • pRetVal
    [out] A pointer to a ULONG32 that receives the offsets.

Return Value

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

Requirements

Header: CorSym.idl

See Also

Reference

ISymUnmanagedMethod Interface