NSRegularExpression.ReplaceMatches 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString) | |
ReplaceMatches(String, NSMatchingOptions, NSRange, String) |
ReplaceMatches(NSMutableString, NSMatchingOptions, NSRange, NSString)
[Foundation.Export("replaceMatchesInString:options:range:withTemplate:")]
public virtual nuint ReplaceMatches (Foundation.NSMutableString mutableString, Foundation.NSMatchingOptions options, Foundation.NSRange range, Foundation.NSString template);
abstract member ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> nuint
override this.ReplaceMatches : Foundation.NSMutableString * Foundation.NSMatchingOptions * Foundation.NSRange * Foundation.NSString -> nuint
参数
- mutableString
- NSMutableString
- options
- NSMatchingOptions
- range
- NSRange
- template
- NSString
返回
System.System.UIntPtr
System.unativeint
- 属性
适用于
ReplaceMatches(String, NSMatchingOptions, NSRange, String)
[Foundation.Export("stringByReplacingMatchesInString:options:range:withTemplate:")]
public virtual string ReplaceMatches (string sourceString, Foundation.NSMatchingOptions options, Foundation.NSRange range, string template);
abstract member ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string
override this.ReplaceMatches : string * Foundation.NSMatchingOptions * Foundation.NSRange * string -> string
参数
- sourceString
- String
- options
- NSMatchingOptions
- range
- NSRange
- template
- String
返回
- 属性