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
傳回
- 屬性