ISymbolTable.ParseReference(String, ParsePosition, Int32) 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.
Parse a symbol reference name from the given string, starting at the given position.
[Android.Runtime.Register("parseReference", "(Ljava/lang/String;Ljava/text/ParsePosition;I)Ljava/lang/String;", "GetParseReference_Ljava_lang_String_Ljava_text_ParsePosition_IHandler:Android.Icu.Text.ISymbolTableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)]
public string? ParseReference (string? text, Java.Text.ParsePosition? pos, int limit);
[<Android.Runtime.Register("parseReference", "(Ljava/lang/String;Ljava/text/ParsePosition;I)Ljava/lang/String;", "GetParseReference_Ljava_lang_String_Ljava_text_ParsePosition_IHandler:Android.Icu.Text.ISymbolTableInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=24)>]
abstract member ParseReference : string * Java.Text.ParsePosition * int -> string
Parameters
- text
- String
the text to parse for the name
- pos
- ParsePosition
on entry, the index of the first character to parse. This is the character following the SYMBOL_REF character. On exit, the index after the last parsed character. If the parse failed, pos is unchanged on exit.
- limit
- Int32
the index after the last character to be parsed.
Returns
the parsed name, or null if there is no valid symbolic name at the given position.
- Attributes
Remarks
Parse a symbol reference name from the given string, starting at the given position. If no valid symbol reference name is found, return null and leave pos unchanged. That is, if the character at pos cannot start a name, or if pos is at or after text.length(), then return null. This indicates an isolated SYMBOL_REF character.
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.