Επεξεργασία

Κοινή χρήση μέσω


OSPlatform.ToString Method

Definition

Returns the string representation of this OSPlatform instance.

public:
 override System::String ^ ToString();
public override string ToString ();
override this.ToString : unit -> string
Public Overrides Function ToString () As String

Returns

A string that represents this OSPlatform instance.

Remarks

The string representation of an OSPlatform object is the osPlatform string passed to the Create method. The names of the OSPlatform objects returned by the static OSPlatform properties are "FREEBSD", "LINUX", "OSX", and "WINDOWS".

Applies to