OSPlatform Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an operating system platform.
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)
- Inheritance
- Implements
Properties
FreeBSD |
Gets an object that represents the FreeBSD operating system. |
Linux |
Gets an object that represents the Linux operating system. |
OSX |
Gets an object that represents the OSX operating system. |
Windows |
Gets an object that represents the Windows operating system. |
Methods
Create(String) |
Creates a new OSPlatform instance. |
Equals(Object) |
Determines whether the current OSPlatform instance is equal to the specified object. |
Equals(OSPlatform) |
Determines whether the current instance and the specified OSPlatform instance are equal. |
GetHashCode() |
Returns the hash code for this instance. |
ToString() |
Returns the string representation of this OSPlatform instance. |
Operators
Equality(OSPlatform, OSPlatform) |
Determines whether two OSPlatform objects are equal. |
Inequality(OSPlatform, OSPlatform) |
Determines whether two OSPlatform instances are unequal. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應