Editar

Compartir a través de


ObsoletedAttribute Class

Definition

Attribute indicating when an API was obsoleted on a specific platform.

public sealed class ObsoletedAttribute : ObjCRuntime.AvailabilityBaseAttribute
type ObsoletedAttribute = class
    inherit AvailabilityBaseAttribute
Inheritance

Remarks

This class is a shortcut to create an AvailabilityBaseAttribute instance.

Constructors

ObsoletedAttribute(PlatformName, Int32, Int32, Int32, PlatformArchitecture, String)

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

ObsoletedAttribute(PlatformName, Int32, Int32, PlatformArchitecture, String)

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

ObsoletedAttribute(PlatformName, PlatformArchitecture, String)

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

Properties

Architecture

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

(Inherited from AvailabilityBaseAttribute)
AvailabilityKind

The type of availability information this attribute contains.

(Inherited from AvailabilityBaseAttribute)
Message

Additional information related to the availability information.

(Inherited from AvailabilityBaseAttribute)
Platform

The platform this availability attribute applies to.

(Inherited from AvailabilityBaseAttribute)
Version

The version when the API was introduced, deprecated, obsoleted or became unavailable.

(Inherited from AvailabilityBaseAttribute)

Methods

ToString()

Returns a human readable version of the availability attribute.

(Inherited from AvailabilityBaseAttribute)

Applies to