OSPlatform.ToString Método

Definição

Retorna a representação de cadeia de caracteres dessa instância OSPlatform.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

Retornos

String

Uma cadeia de caracteres que representa essa instância OSPlatform.A string that represents this OSPlatform instance.

Comentários

A representação de cadeia de caracteres de um OSPlatform objeto é a osPlatform cadeia de caracteres passada para o Create método.The string representation of an OSPlatform object is the osPlatform string passed to the Create method. Os nomes dos objetos OSPlatform retornados pelas propriedades OSPlatform estáticas são "FREEBSD", "LINUX", "OSX" e "WINDOWS".The names of the OSPlatform objects returned by the static OSPlatform properties are "FREEBSD", "LINUX", "OSX", and "WINDOWS".

Aplica-se a