다음을 통해 공유


SearchIterator.Target Property

Definition

Return the string text to be searched. -or- Set the target text to be searched.

public virtual Java.Text.ICharacterIterator? Target { [Android.Runtime.Register("getTarget", "()Ljava/text/CharacterIterator;", "GetGetTargetHandler", ApiSince=24)] get; [Android.Runtime.Register("setTarget", "(Ljava/text/CharacterIterator;)V", "GetSetTarget_Ljava_text_CharacterIterator_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getTarget", "()Ljava/text/CharacterIterator;", "GetGetTargetHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setTarget", "(Ljava/text/CharacterIterator;)V", "GetSetTarget_Ljava_text_CharacterIterator_Handler", ApiSince=24)>]
member this.Target : Java.Text.ICharacterIterator with get, set

Property Value

text string to be searched.

Attributes

Remarks

Property getter documentation:

Return the string text to be searched.

Java documentation for android.icu.text.SearchIterator.getTarget().

Property setter documentation:

Set the target text to be searched. Text iteration will then begin at the start of the text string. This method is useful if you want to reuse an iterator to search within a different body of text.

Java documentation for android.icu.text.SearchIterator.setTarget(java.text.CharacterIterator).

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