Modifier

Partager via


DeprecatedAttribute Constructors

Definition

Overloads

DeprecatedAttribute(PlatformName, PlatformArchitecture, String)

Initializes a new availability attribute specifying that an API is deprecated on the specified platform.

DeprecatedAttribute(PlatformName, Int32, Int32, PlatformArchitecture, String)

Initializes a new availability attribute specifying when the API was deprecated on the specified platform.

DeprecatedAttribute(PlatformName, Int32, Int32, Int32, PlatformArchitecture, String)

Initializes a new availability attribute specifying when the API was deprecated on the specified platform.

DeprecatedAttribute(PlatformName, PlatformArchitecture, String)

Initializes a new availability attribute specifying that an API is deprecated on the specified platform.

public DeprecatedAttribute (ObjCRuntime.PlatformName platform, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.DeprecatedAttribute : ObjCRuntime.PlatformName * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.DeprecatedAttribute

Parameters

platform
PlatformName

The platform this availability attribute applies to.

architecture
PlatformArchitecture

The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures).

message
String

Additional information related to the availability information.

Applies to

DeprecatedAttribute(PlatformName, Int32, Int32, PlatformArchitecture, String)

Initializes a new availability attribute specifying when the API was deprecated on the specified platform.

public DeprecatedAttribute (ObjCRuntime.PlatformName platform, int majorVersion, int minorVersion, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.DeprecatedAttribute : ObjCRuntime.PlatformName * int * int * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.DeprecatedAttribute

Parameters

platform
PlatformName

The platform this availability attribute applies to.

majorVersion
Int32

The major version.

minorVersion
Int32

The minor version.

architecture
PlatformArchitecture

The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures).

message
String

Additional information related to the availability information.

Applies to

DeprecatedAttribute(PlatformName, Int32, Int32, Int32, PlatformArchitecture, String)

Initializes a new availability attribute specifying when the API was deprecated on the specified platform.

public DeprecatedAttribute (ObjCRuntime.PlatformName platform, int majorVersion, int minorVersion, int subminorVersion, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.DeprecatedAttribute : ObjCRuntime.PlatformName * int * int * int * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.DeprecatedAttribute

Parameters

platform
PlatformName

The platform this availability attribute applies to.

majorVersion
Int32

The major version.

minorVersion
Int32

The minor version.

subminorVersion
Int32

The subminor version.

architecture
PlatformArchitecture

The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures).

message
String

Additional information related to the availability information.

Applies to