Condividi tramite


ISetupHelper.ParseVersionRange(String, UInt64, UInt64) Method

Definition

Parses a dotted quad version string into a 64-bit unsigned integer.

public:
 void ParseVersionRange(System::String ^ versionRange, [Runtime::InteropServices::Out] System::UInt64 % minVersion, [Runtime::InteropServices::Out] System::UInt64 % maxVersion);
public void ParseVersionRange (string versionRange, out ulong minVersion, out ulong maxVersion);
abstract member ParseVersionRange : string * uint64 * uint64 -> unit
Public Sub ParseVersionRange (versionRange As String, ByRef minVersion As ULong, ByRef maxVersion As ULong)

Parameters

versionRange
String

The string containing 1 or 2 dotted quad version strings to parse, e.g. [1.0,) that means 1.0.0.0 or newer.

minVersion
UInt64

A 64-bit unsigned integer representing the minimum version, which may be 0. You can compare this to other versions.

maxVersion
UInt64

A 64-bit unsigned integer representing the maximum version, which may be MAXULONGLONG. You can compare this to other versions.

Applies to