共用方式為


MacAttribute 建構函式

定義

多載

MacAttribute(Byte, Byte)

使用指定的主要和次要版本,初始化 macOS 的新可用性屬性。

MacAttribute(Byte, Byte, PlatformArchitecture)

使用指定的架構、主要和次要版本,初始化 macOS 的新可用性屬性。

MacAttribute(Byte, Byte, Boolean)

使用指定的主要和次要版本,初始化 macOS 的新可用性屬性,如果屬性僅適用于 64 位架構,則為 。

MacAttribute(Byte, Byte, Byte)

使用指定的主要、次要和子管理版本,初始化 macOS 的新可用性屬性。

MacAttribute(Byte, Byte, Byte, PlatformArchitecture)

使用指定的架構、主要、次要和子系統版本,初始化 macOS 的新可用性屬性。

MacAttribute(Byte, Byte, Byte, Boolean)

使用指定的主要、次要和子系統版本,以及屬性僅適用于 64 位架構,初始化 macOS 的新可用性屬性。

MacAttribute(Byte, Byte)

使用指定的主要和次要版本,初始化 macOS 的新可用性屬性。

public MacAttribute (byte major, byte minor);
new ObjCRuntime.MacAttribute : byte * byte -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

適用於

MacAttribute(Byte, Byte, PlatformArchitecture)

使用指定的架構、主要和次要版本,初始化 macOS 的新可用性屬性。

public MacAttribute (byte major, byte minor, ObjCRuntime.PlatformArchitecture arch);
new ObjCRuntime.MacAttribute : byte * byte * ObjCRuntime.PlatformArchitecture -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

arch
PlatformArchitecture

架構。

適用於

MacAttribute(Byte, Byte, Boolean)

使用指定的主要和次要版本,初始化 macOS 的新可用性屬性,如果屬性僅適用于 64 位架構,則為 。

public MacAttribute (byte major, byte minor, bool onlyOn64 = false);
new ObjCRuntime.MacAttribute : byte * byte * bool -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

onlyOn64
Boolean

如果屬性僅適用于 64 位架構。

適用於

MacAttribute(Byte, Byte, Byte)

使用指定的主要、次要和子管理版本,初始化 macOS 的新可用性屬性。

public MacAttribute (byte major, byte minor, byte subminor);
new ObjCRuntime.MacAttribute : byte * byte * byte -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

subminor
Byte

子管理版本號碼。

適用於

MacAttribute(Byte, Byte, Byte, PlatformArchitecture)

使用指定的架構、主要、次要和子系統版本,初始化 macOS 的新可用性屬性。

public MacAttribute (byte major, byte minor, byte subminor, ObjCRuntime.PlatformArchitecture arch);
new ObjCRuntime.MacAttribute : byte * byte * byte * ObjCRuntime.PlatformArchitecture -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

subminor
Byte

子管理版本號碼。

arch
PlatformArchitecture

架構。

適用於

MacAttribute(Byte, Byte, Byte, Boolean)

使用指定的主要、次要和子系統版本,以及屬性僅適用于 64 位架構,初始化 macOS 的新可用性屬性。

public MacAttribute (byte major, byte minor, byte subminor, bool onlyOn64);
new ObjCRuntime.MacAttribute : byte * byte * byte * bool -> ObjCRuntime.MacAttribute

參數

major
Byte

主要版本號碼。

minor
Byte

次要版本號碼。

subminor
Byte

子管理版本號碼。

onlyOn64
Boolean

如果屬性僅適用于 64 位架構。

適用於