OSPlatform 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示一种操作系统平台。
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)
		- 继承
 
- 实现
 
属性
| FreeBSD | 
		 获取表示 FreeBSD 操作系统的对象。  | 
        	
| Linux | 
		 获取表示 Linux 操作系统的对象。  | 
        	
| OSX | 
		 获取表示 OSX 操作系统的对象。  | 
        	
| Windows | 
		 获取表示 Windows 操作系统的对象。  | 
        	
方法
| Create(String) | 
		 创建一个新的 OSPlatform 实例。  | 
        	
| Equals(Object) | 
		 确定当前 OSPlatform 实例是否与指定对象相等。  | 
        	
| Equals(OSPlatform) | 
		 确定当前实例是否等同于指定的 OSPlatform 实例。  | 
        	
| GetHashCode() | 
		 返回此实例的哈希代码。  | 
        	
| ToString() | 
		 返回此 OSPlatform 实例的字符串表示形式。  | 
        	
运算符
| Equality(OSPlatform, OSPlatform) | 
		 确定两个 OSPlatform 对象是否相等。  | 
         	
| Inequality(OSPlatform, OSPlatform) | 
		 确定两个 OSPlatform 实例是否不相等。  |