Language

JniRuntime.JniMarshalMemberBuilder.IsDirectMethod(ParameterInfo[]) Method

Definition

Tests whether the first two parameter types are both IntPtr.

public bool IsDirectMethod(System.Reflection.ParameterInfo[] methodParameters);
member this.IsDirectMethod : System.Reflection.ParameterInfo[] -> bool

Parameters

methodParameters
ParameterInfo[]

The parameter metadata to inspect, or null to return false.

Returns

true when at least two parameters exist and the first two are IntPtr; otherwise, false.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to