Language

JniMemberSignature.GetParameterCountFromMethodSignature(String) Method

Definition

Counts the parameter type descriptors in a JNI method signature.

public static int GetParameterCountFromMethodSignature(string jniMethodSignature);
static member GetParameterCountFromMethodSignature : string -> int

Parameters

jniMethodSignature
String

The JNI method descriptor whose parameter types are to be counted.

Returns

The number of parameter descriptors before the closing parenthesis.

Remarks

An array descriptor counts as one parameter regardless of rank. The return type is not counted.

Applies to