NSMutableAttributedString.Replace 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.
Overloads
| Name | Description |
|---|---|
| Replace(NSRange, NSAttributedString) | |
| Replace(NSRange, String) |
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
- value
- NSAttributedString
- 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