JniRuntime.JniMarshalMemberBuilder.IsDirectMethod(ParameterInfo[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.