AttributedString.GetIterator Method

Definition

Overloads

GetIterator(AttributedCharacterIteratorAttribute[])

Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.

GetIterator(AttributedCharacterIteratorAttribute[], Int32, Int32)

Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.

GetIterator(AttributedCharacterIteratorAttribute[])

Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.

[Android.Runtime.Register("getIterator", "([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;", "GetGetIterator_arrayLjava_text_AttributedCharacterIterator_Attribute_Handler")]
public virtual Java.Text.IAttributedCharacterIterator? GetIterator (Java.Text.AttributedCharacterIteratorAttribute[]? attributes);
[<Android.Runtime.Register("getIterator", "([Ljava/text/AttributedCharacterIterator$Attribute;)Ljava/text/AttributedCharacterIterator;", "GetGetIterator_arrayLjava_text_AttributedCharacterIterator_Attribute_Handler")>]
abstract member GetIterator : Java.Text.AttributedCharacterIteratorAttribute[] -> Java.Text.IAttributedCharacterIterator
override this.GetIterator : Java.Text.AttributedCharacterIteratorAttribute[] -> Java.Text.IAttributedCharacterIterator

Parameters

attributes
AttributedCharacterIteratorAttribute[]

the array containing attributes that will be in the new iterator if they are defined for this text.

Returns

An iterator providing access to the text and its attributes.

Attributes

Remarks

Java documentation for java.text.AttributedString.getIterator().

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

GetIterator(AttributedCharacterIteratorAttribute[], Int32, Int32)

Creates an AttributedCharacterIterator instance that provides access to the entire contents of this string.

[Android.Runtime.Register("getIterator", "([Ljava/text/AttributedCharacterIterator$Attribute;II)Ljava/text/AttributedCharacterIterator;", "GetGetIterator_arrayLjava_text_AttributedCharacterIterator_Attribute_IIHandler")]
public virtual Java.Text.IAttributedCharacterIterator? GetIterator (Java.Text.AttributedCharacterIteratorAttribute[]? attributes, int beginIndex, int endIndex);
[<Android.Runtime.Register("getIterator", "([Ljava/text/AttributedCharacterIterator$Attribute;II)Ljava/text/AttributedCharacterIterator;", "GetGetIterator_arrayLjava_text_AttributedCharacterIterator_Attribute_IIHandler")>]
abstract member GetIterator : Java.Text.AttributedCharacterIteratorAttribute[] * int * int -> Java.Text.IAttributedCharacterIterator
override this.GetIterator : Java.Text.AttributedCharacterIteratorAttribute[] * int * int -> Java.Text.IAttributedCharacterIterator

Parameters

attributes
AttributedCharacterIteratorAttribute[]

the array containing attributes that will be in the new iterator if they are defined for this text.

beginIndex
Int32
endIndex
Int32

Returns

An iterator providing access to the text and its attributes.

Attributes

Remarks

Java documentation for java.text.AttributedString.getIterator().

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