OSPlatform Структура
Определение
Представляет платформу операционной системы.Represents an operating system platform.
public value class OSPlatform : IEquatable<System::Runtime::InteropServices::OSPlatform>
public struct OSPlatform : IEquatable<System.Runtime.InteropServices.OSPlatform>
type OSPlatform = struct
Public Structure OSPlatform
Implements IEquatable(Of OSPlatform)
- Наследование
- Реализации
Свойства
FreeBSD |
Получает объект, представляющий операционную систему FreeBSD.Gets an object that represents the FreeBSD operating system. |
Linux |
Получает объект, представляющий операционную систему Linux.Gets an object that represents the Linux operating system. |
OSX |
Получает объект, представляющий операционную систему OSX.Gets an object that represents the OSX operating system. |
Windows |
Получает объект, представляющий операционную систему Windows.Gets an object that represents the Windows operating system. |
Методы
Create(String) |
Создает новый экземпляр OSPlatform.Creates a new OSPlatform instance. |
Equals(Object) |
Определяет, равен ли текущий экземпляр OSPlatform указанному объекту.Determines whether the current OSPlatform instance is equal to the specified object. |
Equals(OSPlatform) |
Определяет, равен ли текущий экземпляр указанному экземпляру OSPlatform.Determines whether the current instance and the specified OSPlatform instance are equal. |
GetHashCode() |
Возвращает хэш-код данного экземпляра.Returns the hash code for this instance. |
ToString() |
Возвращает строковое представление этого экземпляра OSPlatform.Returns the string representation of this OSPlatform instance. |
Операторы
Equality(OSPlatform, OSPlatform) |
Определяет равенство двух объектов OSPlatform.Determines whether two OSPlatform objects are equal. |
Inequality(OSPlatform, OSPlatform) |
Определяет неравенство двух экземпляров OSPlatform.Determines whether two OSPlatform instances are unequal. |