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
Replace(NSRange, NSAttributedString) |
Replaces the specified range of characters with an attributed string. |
Replace(NSRange, String) |
Replaces the specified range of characters with an attributed string. |
Replace(NSRange, NSAttributedString)
Replaces the specified range of characters with an attributed string.
[Foundation.Export("replaceCharactersInRange:withAttributedString:")]
public virtual void Replace (Foundation.NSRange range, Foundation.NSAttributedString value);
abstract member Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit
override this.Replace : Foundation.NSRange * Foundation.NSAttributedString -> unit
Parameters
- range
- NSRange
Range of characters that will be replaced.
- value
- NSAttributedString
Strings that will be inserted to replace the range of characters.
- Attributes
Applies to
Replace(NSRange, String)
Replaces the specified range of characters with an attributed string.
[Foundation.Export("replaceCharactersInRange:withString:")]
public virtual void Replace (Foundation.NSRange range, string newValue);
abstract member Replace : Foundation.NSRange * string -> unit
override this.Replace : Foundation.NSRange * string -> unit
Parameters
- range
- NSRange
Range of characters that will be replaced.
- newValue
- String
Strings that will be inserted to replace the range of characters.
- Attributes