Returns the default string representation of this Version object. The format of the string returned is:
<majorVersion>.<minorVersion>[.<revision>[.<build>]]
Missing components of the Version are omitted in the returned string.
[Visual Basic] Overloads Overrides Public Function ToString() As String [C#] public override string ToString(); [C++] public: override String* ToString(); [JScript] public override function ToString() : String;
For example, if Version was created using the constructor Version(1,1), the returned string will be 1.1. If Version was created using the constructor Version(1,3,4,2), the returned string will be 1.3.4.2.
Version Class | Version Members | System Namespace | Version.ToString Overload List