ExportedTypeExtensions.GetTypeDefinitionId(ExportedType) 方法

定義

在目標型別模組的 TypeDef 資料表中,於可能的目標型別資料列編號處取得提示。 如果命名空間和名稱不相符,則解析會退而使用目標 TypeDef 資料表的完整搜尋。 已忽略,且如果 IsForwardertrue,則應為零。

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

參數

exportedType
ExportedType

傳回

適用於