共用方式為


NSProcessInfo.OperatingSystem 屬性

定義

開發人員不應該使用此已被取代的屬性。 開發人員應該改用 '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
屬性

適用於