System.Reflection.Emit.ModuleBuilder.GetArrayMethodToken Method

Returns the token for the named method on an array class.

Syntax

public MethodToken GetArrayMethodToken (Type arrayClass, string methodName, System.Reflection.CallingConventions callingConvention, Type returnType, Type[] parameterTypes)

Parameters

arrayClass
The object for the array.
methodName
A string that contains the name of the method.
callingConvention
The calling convention for the method.
returnType
The return type of the method.
parameterTypes
The types of the parameters of the method.

Returns

The token for the named method on an array class.

Remarks

This method is similar to ModuleBuilder.GetArrayMethod(Type, string, System.Reflection.CallingConventions, Type, Type[]), except that it returns the token of the array method instead of the method itself.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0