NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Version.ToString ()

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;

Example

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.

See Also

Version Class | Version Members | System Namespace | Version.ToString Overload List