Language

JniTypeSignature.TryParse(String, JniTypeSignature) Method

Definition

Attempts to parse a JNI type name or descriptor into its components.

public static bool TryParse(string signature, out Java.Interop.JniTypeSignature result);
static member TryParse : string * JniTypeSignature -> bool

Parameters

signature
String

A simple JNI type name or a JNI type descriptor, including any array prefixes.

result
JniTypeSignature

The parsed signature on success; otherwise, the default JniTypeSignature value when the method returns false.

Returns

true if parsing succeeds; false if the parser reports an invalid argument.

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