MacAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MacAttribute(Byte, Byte) |
Initializes a new availability attribute for macOS with the specified major and minor versions. |
MacAttribute(Byte, Byte, PlatformArchitecture) |
Initializes a new availability attribute for macOS with the specified architecture, major and minor versions. |
MacAttribute(Byte, Byte, Boolean) |
Initializes a new availability attribute for macOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures. |
MacAttribute(Byte, Byte, Byte) |
Initializes a new availability attribute for macOS with the specified major, minor and subminor versions. |
MacAttribute(Byte, Byte, Byte, PlatformArchitecture) |
Initializes a new availability attribute for macOS with the specified architecture, major, minor and subminor versions. |
MacAttribute(Byte, Byte, Byte, Boolean) |
Initializes a new availability attribute for macOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures. |
MacAttribute(Byte, Byte)
Initializes a new availability attribute for macOS with the specified major and minor versions.
public MacAttribute (byte major, byte minor);
new ObjCRuntime.MacAttribute : byte * byte -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
Applies to
MacAttribute(Byte, Byte, PlatformArchitecture)
Initializes a new availability attribute for macOS with the specified architecture, major and minor versions.
public MacAttribute (byte major, byte minor, ObjCRuntime.PlatformArchitecture arch);
new ObjCRuntime.MacAttribute : byte * byte * ObjCRuntime.PlatformArchitecture -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- arch
- PlatformArchitecture
The architecture.
Applies to
MacAttribute(Byte, Byte, Boolean)
Initializes a new availability attribute for macOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures.
public MacAttribute (byte major, byte minor, bool onlyOn64 = false);
new ObjCRuntime.MacAttribute : byte * byte * bool -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- onlyOn64
- Boolean
If the attribute only applies to 64-bit architectures.
Applies to
MacAttribute(Byte, Byte, Byte)
Initializes a new availability attribute for macOS with the specified major, minor and subminor versions.
public MacAttribute (byte major, byte minor, byte subminor);
new ObjCRuntime.MacAttribute : byte * byte * byte -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- subminor
- Byte
The subminor version number.
Applies to
MacAttribute(Byte, Byte, Byte, PlatformArchitecture)
Initializes a new availability attribute for macOS with the specified architecture, major, minor and subminor versions.
public MacAttribute (byte major, byte minor, byte subminor, ObjCRuntime.PlatformArchitecture arch);
new ObjCRuntime.MacAttribute : byte * byte * byte * ObjCRuntime.PlatformArchitecture -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- subminor
- Byte
The subminor version number.
- arch
- PlatformArchitecture
The architecture.
Applies to
MacAttribute(Byte, Byte, Byte, Boolean)
Initializes a new availability attribute for macOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures.
public MacAttribute (byte major, byte minor, byte subminor, bool onlyOn64);
new ObjCRuntime.MacAttribute : byte * byte * byte * bool -> ObjCRuntime.MacAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- subminor
- Byte
The subminor version number.
- onlyOn64
- Boolean
If the attribute only applies to 64-bit architectures.