Returns the named method on an array class.
[Visual Basic] Public Function GetArrayMethod( _ ByVal arrayClass As Type, _ ByVal methodName As String, _ ByVal callingConvention As CallingConventions, _ ByVal returnType As Type, _ ByVal parameterTypes() As Type _ ) As MethodInfo [C#] public MethodInfo GetArrayMethod( Type arrayClass, string methodName, CallingConventions callingConvention, Type returnType, Type[] parameterTypes ); [C++] public: MethodInfo* GetArrayMethod( Type* arrayClass, String* methodName, CallingConventions callingConvention, Type* returnType, Type* parameterTypes[] ); [JScript] public function GetArrayMethod( arrayClass : Type, methodName : String, callingConvention : CallingConventions, returnType : Type, parameterTypes : Type[] ) : MethodInfo;
The named method on an array class.
Exception Type | Condition |
---|---|
ArgumentException | if arrayClass is not an array |
ArgumentNullException | if arrayClass or methodName is a null reference (in Visual Basic Nothing) |
ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace