Поделиться через


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

Возвращаемое значение

Атрибуты

Применяется к