共用方式為


VersionInfo.GetInstance Method

Definition

Overloads

GetInstance(Int32)
GetInstance(String)
GetInstance(Int32, Int32)
GetInstance(Int32, Int32, Int32)
GetInstance(Int32, Int32, Int32, Int32)

GetInstance(Int32)

[Android.Runtime.Register("getInstance", "(I)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetInstance (int major);
[<Android.Runtime.Register("getInstance", "(I)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetInstance : int -> Android.Icu.Util.VersionInfo

Parameters

major
Int32

Returns

Attributes

Remarks

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

GetInstance(String)

[Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetInstance (string? version);
[<Android.Runtime.Register("getInstance", "(Ljava/lang/String;)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetInstance : string -> Android.Icu.Util.VersionInfo

Parameters

version
String

Returns

Attributes

Remarks

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

GetInstance(Int32, Int32)

[Android.Runtime.Register("getInstance", "(II)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetInstance (int major, int minor);
[<Android.Runtime.Register("getInstance", "(II)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetInstance : int * int -> Android.Icu.Util.VersionInfo

Parameters

major
Int32
minor
Int32

Returns

Attributes

Remarks

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

GetInstance(Int32, Int32, Int32)

[Android.Runtime.Register("getInstance", "(III)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetInstance (int major, int minor, int milli);
[<Android.Runtime.Register("getInstance", "(III)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetInstance : int * int * int -> Android.Icu.Util.VersionInfo

Parameters

major
Int32
minor
Int32
milli
Int32

Returns

Attributes

Remarks

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

GetInstance(Int32, Int32, Int32, Int32)

[Android.Runtime.Register("getInstance", "(IIII)Landroid/icu/util/VersionInfo;", "", ApiSince=24)]
public static Android.Icu.Util.VersionInfo? GetInstance (int major, int minor, int milli, int micro);
[<Android.Runtime.Register("getInstance", "(IIII)Landroid/icu/util/VersionInfo;", "", ApiSince=24)>]
static member GetInstance : int * int * int * int -> Android.Icu.Util.VersionInfo

Parameters

major
Int32
minor
Int32
milli
Int32
micro
Int32

Returns

Attributes

Remarks

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