ModuleBuilder.GetArrayMethodCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當在派生類別中覆寫時,會回傳陣列類別上的命名方法。
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[]
方法參數的類型。
傳回
在陣列類別上命名的方法。