Bewerken

Share via


CodedIndex.TypeDefOrRef(EntityHandle) Method

Definition

Calculates a TypeDefOrRef coded index for the specified handle.

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

Parameters

Returns

Exceptions

The handle type is unexpected.

Applies to