ModuleBuilder.GetArrayMethodCore Method (System.Reflection.Emit) (original) (raw)

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

When overridden in a derived class, returns the named method on an array class.

protected:
 abstract System::Reflection::MethodInfo ^ GetArrayMethodCore(Type ^ arrayClass, System::String ^ methodName, System::Reflection::CallingConventions callingConvention, Type ^ returnType, cli::array <Type ^> ^ parameterTypes);
protected abstract System.Reflection.MethodInfo GetArrayMethodCore(Type arrayClass, string methodName, System.Reflection.CallingConventions callingConvention, Type? returnType, Type[]? parameterTypes);
abstract member GetArrayMethodCore : Type * string * System.Reflection.CallingConventions * Type * Type[] -> System.Reflection.MethodInfo
Protected MustOverride Function GetArrayMethodCore (arrayClass As Type, methodName As String, callingConvention As CallingConventions, returnType As Type, parameterTypes As Type()) As MethodInfo

Parameters

arrayClass

Type

An array class.

methodName

String

The name of a method on the array class.

returnType

Type

The return type of the method.

parameterTypes

Type[]

The types of the method's parameters.

Returns

The named method on an array class.

Applies to