Rediger

Del via


CodedIndex.TypeOrMethodDef(EntityHandle) Method

Definition

Calculates a TypeOrMethodDef coded index for the specified handle.

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

Parameters

Returns

Exceptions

The handle type is unexpected.

Applies to