ISymUnmanagedReader::GetMethodVersion Method
Gets the method version. The method version starts at 1 and is incremented each time the method is recompiled. Recompilation can happen without changes to the method.
Syntax
HRESULT GetMethodVersion (
[in] ISymUnmanagedMethod* pMethod,
[out] int* version);
Parameters
pMethod
[in] The method for which to get the version.
version
[out] A pointer to a variable that receives the method version.
Return Value
S_OK if the method succeeds; otherwise, E_FAIL or some other error code.
Requirements
Header: CorSym.idl, CorSym.h
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.