共用方式為


SearchResult.MatchRange(Int32, Int32) Constructor

Definition

Creates a new immutable range.

[Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=31)]
public MatchRange (int start, int end);
[<Android.Runtime.Register(".ctor", "(II)V", "", ApiSince=31)>]
new Android.App.AppSearch.SearchResult.MatchRange : int * int -> Android.App.AppSearch.SearchResult.MatchRange

Parameters

start
Int32

The start point (inclusive)

end
Int32

The end point (exclusive)

Attributes

Remarks

Creates a new immutable range.

The endpoints are [start, end); that is the range is bounded. start must be lesser or equal to end.

Java documentation for android.app.appsearch.SearchResult.MatchRange.SearchResult$MatchRange(int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to