Share via


NSMutableAttributedString.Replace Method

Definition

Overloads

Replace(NSRange, NSAttributedString)

[Foundation.Export("replaceCharactersInRange:withAttributedString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Replace(Foundation.NSRange range, Foundation.NSAttributedString value);
[<Foundation.Export("replaceCharactersInRange:withAttributedString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit
override this.Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit

Parameters

range
NSRange
Attributes

Applies to

Replace(NSRange, String)

[Foundation.Export("replaceCharactersInRange:withString:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void Replace(Foundation.NSRange range, string newValue);
[<Foundation.Export("replaceCharactersInRange:withString:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member Replace : Foundation.NSRange * string -> unit
override this.Replace : Foundation.NSRange * string -> unit

Parameters

range
NSRange
newValue
String
Attributes

Applies to