OSPlatform Struktura

Definicja

Reprezentuje platformę systemu operacyjnego.

public value class OSPlatform : IEquatable<System::Runtime::InteropServices::OSPlatform>
public readonly struct OSPlatform : IEquatable<System.Runtime.InteropServices.OSPlatform>
public struct OSPlatform : IEquatable<System.Runtime.InteropServices.OSPlatform>
type OSPlatform = struct
Public Structure OSPlatform
Implements IEquatable(Of OSPlatform)
Dziedziczenie
OSPlatform
Implementuje

Właściwości

FreeBSD

Pobiera obiekt reprezentujący system operacyjny FreeBSD.

Linux

Pobiera obiekt reprezentujący system operacyjny Linux.

OSX

Pobiera obiekt reprezentujący system operacyjny OSX.

Windows

Pobiera obiekt reprezentujący system operacyjny Windows.

Metody

Create(String)

Tworzy nowe wystąpienie klasy OSPlatform.

Equals(Object)

Określa, czy bieżące OSPlatform wystąpienie jest równe określonemu obiektowi.

Equals(OSPlatform)

Określa, czy bieżące wystąpienie i określone OSPlatform wystąpienie są równe.

GetHashCode()

Zwraca wartość skrótu dla tego wystąpienia.

ToString()

Zwraca reprezentację ciągu tego OSPlatform wystąpienia.

Operatory

Equality(OSPlatform, OSPlatform)

Określa, czy dwa OSPlatform obiekty są równe.

Inequality(OSPlatform, OSPlatform)

Określa, czy dwa OSPlatform wystąpienia są nierówne.

Dotyczy