CodedIndex.TypeDefOrRefOrSpec(EntityHandle) Method

Definition

Calculates a TypeDefOrRefOrSpec coded index for the specified handle.

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

Parameters

Returns

Exceptions

The handle type is unexpected.

Applies to