Share via


ISymUnmanagedWriter3::OpenMethod2 Method

Opens a method and provides its real section offset in the image.

HRESULT OpenMethod2( 
    [in] mdMethodDef method,
    [in] ULONG32 isect,
    [in] ULONG32 offset);

Parameters

  • method
    [in] The metadata token for the method to be opened.

  • isect
    [in] The section offset in the image.

  • offset
    [in] The offset in the image.

Return Value

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

Requirements

Header: CorSym.idl, CorSym.h

See Also

Reference

ISymUnmanagedWriter3 Interface

ISymUnmanagedWriter::OpenMethod Method