共用方式為


NSRegularExpression.GetRangeOfFirstMatch 方法

定義

[Foundation.Export("rangeOfFirstMatchInString:options:range:")]
public virtual Foundation.NSRange GetRangeOfFirstMatch (string str, Foundation.NSMatchingOptions options, Foundation.NSRange range);
abstract member GetRangeOfFirstMatch : string * Foundation.NSMatchingOptions * Foundation.NSRange -> Foundation.NSRange
override this.GetRangeOfFirstMatch : string * Foundation.NSMatchingOptions * Foundation.NSRange -> Foundation.NSRange

參數

str
String
range
NSRange

傳回

屬性

適用於