編輯

共用方式為


TVAttribute Constructors

Definition

Overloads

TVAttribute(Byte, Byte)

Initializes a new availability attribute for tvOS with the specified architecture, major and minor versions.

TVAttribute(Byte, Byte, Boolean)

Initializes a new availability attribute for tvOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures.

TVAttribute(Byte, Byte, Byte)

Initializes a new availability attribute for tvOS with the specified architecture, major, minor and subminor versions.

TVAttribute(Byte, Byte, Byte, Boolean)

Initializes a new availability attribute for tvOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures.

TVAttribute(Byte, Byte)

Initializes a new availability attribute for tvOS with the specified architecture, major and minor versions.

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

Parameters

major
Byte

The major version number.

minor
Byte

The minor version number.

Applies to

TVAttribute(Byte, Byte, Boolean)

Initializes a new availability attribute for tvOS with the specified major and minor versions, and if the attribute only applies to 64-bit architectures.

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

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

TVAttribute(Byte, Byte, Byte)

Initializes a new availability attribute for tvOS with the specified architecture, major, minor and subminor versions.

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

Parameters

major
Byte

The major version number.

minor
Byte

The minor version number.

subminor
Byte

The subminor version number.

Applies to

TVAttribute(Byte, Byte, Byte, Boolean)

Initializes a new availability attribute for tvOS with the specified major, minor and subminor versions, and if the attribute only applies to 64-bit architectures.

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

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.

Applies to