WatchAttribute 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
WatchAttribute(Byte, Byte) |
Initializes a new availability attribute for watchOS with the specified architecture, major and minor versions. |
WatchAttribute(Byte, Byte, Boolean) |
Initializes a new availability attribute for watchOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures. |
WatchAttribute(Byte, Byte, Byte) |
Initializes a new availability attribute for watchOS with the specified architecture, major, minor and subminor versions. |
WatchAttribute(Byte, Byte, Byte, Boolean) |
Initializes a new availability attribute for watchOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures. |
WatchAttribute(Byte, Byte)
Initializes a new availability attribute for watchOS with the specified architecture, major and minor versions.
public WatchAttribute (byte major, byte minor);
new ObjCRuntime.WatchAttribute : byte * byte -> ObjCRuntime.WatchAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
Applies to
WatchAttribute(Byte, Byte, Boolean)
Initializes a new availability attribute for watchOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures.
public WatchAttribute (byte major, byte minor, bool onlyOn64 = false);
new ObjCRuntime.WatchAttribute : byte * byte * bool -> ObjCRuntime.WatchAttribute
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
WatchAttribute(Byte, Byte, Byte)
Initializes a new availability attribute for watchOS with the specified architecture, major, minor and subminor versions.
public WatchAttribute (byte major, byte minor, byte subminor);
new ObjCRuntime.WatchAttribute : byte * byte * byte -> ObjCRuntime.WatchAttribute
Parameters
- major
- Byte
The major version number.
- minor
- Byte
The minor version number.
- subminor
- Byte
The subminor version number.
Applies to
WatchAttribute(Byte, Byte, Byte, Boolean)
Initializes a new availability attribute for watchOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures.
public WatchAttribute (byte major, byte minor, byte subminor, bool onlyOn64);
new ObjCRuntime.WatchAttribute : byte * byte * byte * bool -> ObjCRuntime.WatchAttribute
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.