共用方式為


CodedIndex.TypeDefOrRefOrSpec(EntityHandle) 方法

定義

計算指定句柄的 TypeDefOrRefOrSpec 編碼索引。

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

參數

傳回

例外狀況

控制代碼類型是非預期的。

適用於