ModuleBuilder.GetArrayMethodCore 方法

定義

當在派生類別中覆寫時,會回傳陣列類別上的命名方法。

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

參數

arrayClass
Type

一個陣列類別。

methodName
String

陣列類別上一個方法的名稱。

callingConvention
CallingConventions

方法是呼叫慣例。

returnType
Type

方法是方法的回傳類型。

parameterTypes
Type[]

方法參數的類型。

傳回

在陣列類別上命名的方法。

適用於