MetadataTokens.GetRowNumber 方法

定義

多載

GetRowNumber(EntityHandle)

取得對應至指定 handle 之中繼資料資料表項目的資料列號碼。

GetRowNumber(MetadataReader, EntityHandle)

取得對應至 reader 內容中指定 handle 之中繼資料資料表項目的資料列號碼。

GetRowNumber(EntityHandle)

來源:
MetadataTokens.cs
來源:
MetadataTokens.cs
來源:
MetadataTokens.cs

取得對應至指定 handle 之中繼資料資料表項目的資料列號碼。

public:
 static int GetRowNumber(System::Reflection::Metadata::EntityHandle handle);
public static int GetRowNumber (System.Reflection.Metadata.EntityHandle handle);
static member GetRowNumber : System.Reflection.Metadata.EntityHandle -> int
Public Function GetRowNumber (handle As EntityHandle) As Integer

參數

handle
EntityHandle

傳回

以一為基礎的資料列號碼,或若 handle 只能在特定 MetadataReader 的內容中解譯,則為 -1。 請參閱 GetRowNumber(MetadataReader, EntityHandle)

適用於

GetRowNumber(MetadataReader, EntityHandle)

來源:
MetadataTokens.cs
來源:
MetadataTokens.cs
來源:
MetadataTokens.cs

取得對應至 reader 內容中指定 handle 之中繼資料資料表項目的資料列號碼。

public:
[System::Runtime::CompilerServices::Extension]
 static int GetRowNumber(System::Reflection::Metadata::MetadataReader ^ reader, System::Reflection::Metadata::EntityHandle handle);
public static int GetRowNumber (this System.Reflection.Metadata.MetadataReader reader, System.Reflection.Metadata.EntityHandle handle);
static member GetRowNumber : System.Reflection.Metadata.MetadataReader * System.Reflection.Metadata.EntityHandle -> int
<Extension()>
Public Function GetRowNumber (reader As MetadataReader, handle As EntityHandle) As Integer

參數

handle
EntityHandle

傳回

以一為基礎的資料列號碼。

例外狀況

handle 不是有效的中繼資料資料表控制代碼。

適用於