Click or drag to resize

IStringJavaObjectIndexOf(String) Method

Reports the zero-based index of the first occurrence of the specified string in this instance.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
int IndexOf(
	string value
)

Parameters

value  String
The string to seek.

Return Value

Int32
The zero-based index position of value if that string is found, or -1 if it is not. If value is Empty, the return value is 0.
Exceptions
ExceptionCondition
InvalidOperationExceptionIf current instance is not a JVM string
ArgumentNullExceptionvalue is null.
See Also