Struct Version
Represents a browser version.
Inherited Members
Namespace: IRM.Net.Http
Assembly: IRM.dll
Syntax
public struct Version
Constructors
Version(Int32, String, String, String)
Initializes a new instance of the Version struct.
Declaration
public Version(int major, string minor = null, string revision = null, string build = null)
Parameters
System.Int32
major
|
String
minor
|
String
revision
|
String
build
|
Version(String)
Initializes a new instance of the Version struct.
Declaration
public Version(string version)
Parameters
String
version
The string representing the version. |
Properties
Build
Gets the value of the build component of the version number.
Declaration
public readonly string Build { get; }
Property Value
String
The build number, or null if the build number is undefined. |
Major
Gets the value of the major component of the version number.
Declaration
public readonly int Major { get; }
Property Value
System.Int32
The major version number. |
Minor
Gets the value of the minor component of the version number.
Declaration
public readonly string Minor { get; }
Property Value
String
The minor version number, or null if the minor number is undefined. |
Revision
Gets the value of the revision component of the version number.
Declaration
public readonly string Revision { get; }
Property Value
String
The revision number, or null if the revision number is undefined. |
TextPart
Gets the parts of the verison string that could not be parsed to any of the Major, Minor, Revision or Build parts.
Declaration
public string TextPart { readonly get; set; }
Property Value
String
|
Methods
ToString()
Declaration
public override string ToString()
Returns
String
The String representation of the values of the major, minor, build, revision and text part components of the current Version object, as depicted in the following format. Each component is separated by a period character ('.'), except for text part that is separated by a space character (' '). |