Gets the value of the revision component of the version number for the current Version object.
A int specifying the revision component, or -1 if the revision component is undefined.
For example, if the version number is 6.2.1.3, the revision number is 3. If the version number is 6.2, the revision number is undefined.
C# Example
using System;
class VersionRevisionExample {
public static void Main() {
Version vers = new Version("6.1.2.4");
Console.Write("The revision component of ");
Console.WriteLine("version vers = {0}.",
vers.Revision);
}
}
The output is
The revision component of version vers = 4.