IXCLRDataModule::GetMethodDefinitionByToken Method
Gets the method definition corresponding to a given metadata token.
Note
This API was originally designed for internal use in the runtime. Although it is now supported for 3rd party use, we recommend working with ICorDebug
and ICorProfiler
APIs when possible.
Syntax
HRESULT GetMethodDefinitionByToken(
[in] mdMethodDef token,
[out] IXCLRDataMethodDefinition** methodDefinition
);
Parameters
token
[in] The method token.
methodDefinition
[out] The method definition.
Remarks
The provided method is part of the IXCLRDataModule
interface and corresponds to the 26th slot of the virtual method table.
Requirements
Platforms: See System Requirements.
Header: None
Library: None
.NET Framework Versions: Available since 4.7
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.