UnavailableAttribute UnavailableAttribute Class


Attribute indicating when an API was removed from a specific platform.

public class UnavailableAttribute : ObjCRuntime.AvailabilityBaseAttribute
type UnavailableAttribute = class
    inherit AvailabilityBaseAttribute


This class is a shortcut to create an AvailabilityBaseAttribute instance.


UnavailableAttribute(PlatformName, PlatformArchitecture, String) UnavailableAttribute(PlatformName, PlatformArchitecture, String)

Initializes a new availability attribute specifying that an API no longer exists on the specified platform.


Architecture 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 AvailabilityKind

The type of availability information this attribute contains.

(Inherited from AvailabilityBaseAttribute)
Message Message

Additional information related to the availability information.

(Inherited from AvailabilityBaseAttribute)
Platform Platform

The platform this availability attribute applies to.

(Inherited from AvailabilityBaseAttribute)
Version Version

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

(Inherited from AvailabilityBaseAttribute)


ToString() ToString()

Returns a human readable version of the availability attribute.

(Inherited from AvailabilityBaseAttribute)

Applies to