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
- 屬性