IXCLRDataTypeDefinition::GetTokenAndScope Method

Gets the metadata token and scope of the type definition.

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 GetTokenAndScope(
    [out] mdTypeDef *token,
    [out] IXCLRDataModule **mod
);

Parameters

token
[in] The metadata token for the type definition.

mod
[out] The module for which the metadata token is valid.

Remarks

The provided method is part of the IXCLRDataTypeDefinition interface and corresponds to the 16th slot of the virtual method table.

Requirements

Platforms: See System Requirements. Header: None Library: None .NET Framework Versions: Available since 4.7

See also