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

参数

返回

例外

句柄类型意外。

适用于