NSProcessInfo.OperatingSystem 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
开发人员不应使用此已弃用的属性。 开发人员应改用“OperatingSystemVersion”或“IsOperatingSystemAtLeastVersion”。
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'OperatingSystemVersion' or 'IsOperatingSystemAtLeastVersion' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'OperatingSystemVersion' or 'IsOperatingSystemAtLeastVersion' instead.")]
public virtual nint OperatingSystem { [Foundation.Export("operatingSystem")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.None, "Use 'OperatingSystemVersion' or 'IsOperatingSystemAtLeastVersion' instead.")] [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'OperatingSystemVersion' or 'IsOperatingSystemAtLeastVersion' instead.")] get; }
member this.OperatingSystem : nint
属性值
System.System.IntPtr
System.nativeint
- 属性