Bewerken

Share via


ExportedTypeExtensions.GetTypeDefinitionId(ExportedType) Method

Definition

Gets a hint at the likely row number of the target type in the TypeDef table of its module. If the namespaces and names do not match, resolution falls back to a full search of the target TypeDef table. Ignored and should be zero if IsForwarder is true.

public:
[System::Runtime::CompilerServices::Extension]
 static int GetTypeDefinitionId(System::Reflection::Metadata::ExportedType exportedType);
public static int GetTypeDefinitionId (this System.Reflection.Metadata.ExportedType exportedType);
static member GetTypeDefinitionId : System.Reflection.Metadata.ExportedType -> int
<Extension()>
Public Function GetTypeDefinitionId (exportedType As ExportedType) As Integer

Parameters

exportedType
ExportedType

Returns

Applies to