NSRegularExpression.ReplaceMatches 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 |
|---|---|
| ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString) | |
| ReplaceMatches(String, NSMatchingOptions, NSRange, String) |
ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString)
[Foundation.Export("replaceMatchesInString:options:range:withTemplate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual UIntPtr ReplaceMatches(Foundation.NSMutableString mutableString, Foundation.NSMatchingOptions options, Foundation.NSRange range, Foundation.NSString template);
[<Foundation.Export("replaceMatchesInString:options:range:withTemplate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> unativeint
override this.ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> unativeint
Parameters
- mutableString
- NSMutableString
- options
- NSMatchingOptions
- range
- NSRange
- template
- NSString
Returns
UIntPtr
unativeint
- Attributes
Applies to
ReplaceMatches(String, NSMatchingOptions, NSRange, String)
[Foundation.Export("stringByReplacingMatchesInString:options:range:withTemplate:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual string ReplaceMatches(string sourceString, Foundation.NSMatchingOptions options, Foundation.NSRange range, string template);
[<Foundation.Export("stringByReplacingMatchesInString:options:range:withTemplate:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string
override this.ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string
Parameters
- sourceString
- String
- options
- NSMatchingOptions
- range
- NSRange
- template
- String
Returns
- Attributes