NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ModuleBuilder.GetArrayMethod

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;

Parameters

arrayClass
An array class.
methodName
[To be supplied.]
callingConvention
[To be supplied.]
returnType
[To be supplied.]
parameterTypes
[To be supplied.]

Return Value

The named method on an array class.

Exceptions

Exception Type Condition
ArgumentException if arrayClass is not an array
ArgumentNullException if arrayClass or methodName is a null reference (in Visual Basic Nothing)

See Also

ModuleBuilder Class | ModuleBuilder Members | System.Reflection.Emit Namespace