共用方式為


NSRegularExpression.ReplaceMatches 方法

定義

多載

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
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
range
NSRange
template
String

傳回

屬性

適用於