AttributedString.AddAttributes 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.
Adds a set of attributes to a subrange of the string.
[Android.Runtime.Register("addAttributes", "(Ljava/util/Map;II)V", "GetAddAttributes_Ljava_util_Map_IIHandler")]
public virtual void AddAttributes (System.Collections.Generic.IDictionary<Java.Text.AttributedCharacterIteratorAttribute,object>? attributes, int beginIndex, int endIndex);
[<Android.Runtime.Register("addAttributes", "(Ljava/util/Map;II)V", "GetAddAttributes_Ljava_util_Map_IIHandler")>]
abstract member AddAttributes : System.Collections.Generic.IDictionary<Java.Text.AttributedCharacterIteratorAttribute, obj> * int * int -> unit
override this.AddAttributes : System.Collections.Generic.IDictionary<Java.Text.AttributedCharacterIteratorAttribute, obj> * int * int -> unit
Parameters
- attributes
- IDictionary<AttributedCharacterIteratorAttribute,Object>
The attributes to be added to the string.
- beginIndex
- Int32
Index of the first character of the range.
- endIndex
- Int32
Index of the character following the last character of the range.
- Attributes
Remarks
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.