ObjCRuntime.AvailabilityAttribute Members

The members of ObjCRuntime.AvailabilityAttribute are listed below.

See Also: Inherited members from System.Attribute

Public Constructors

Default constructor, sets not availability.
Defines the availability range of a particular API.

Public Properties

[read-only]
AlwaysAvailablebool. Indicates that the member or type can be assumed to always be available (on both OSX and iOS, as well as every version that is currently supported).
DeprecatedPlatform. the first version in which the API was deprecated for a given platform; this means users should begin avoiding the API and migrating to a more suitable one, but it still technically works on the platform, but there is no guarantee for how long it will continue to work.
[read-only]
DeprecatedArchitecturePlatform. Indicates the platforms on which the member or type has been deprecated.
[read-only]
DeprecatedVersionPlatform. Indicatess the platforms on which the member or type has been deprecated.
IntroducedPlatform. The first version in which an API was introduced for a given platform.
[read-only]
IntroducedArchitecturePlatform. The architectures on which the introduced version applies to.
[read-only]
IntroducedVersionPlatform. Intidcates the versions on which the feature was introduced.
Messagestring. The message describing the limitations.
ObsoletedPlatform. the first version in which the API was obsoleted (removed) from a given platform
[read-only]
ObsoletedArchitecturePlatform. The architectures on which the obsoleted version applies to.
[read-only]
ObsoletedVersionPlatform. Indicates the versions on which the feature was obsoleted.
UnavailablePlatform. the API has never existed in a given platform.

Public Methods

static
Get(System.Reflection.MemberInfo) : AvailabilityAttribute
Convenience method to fetch the ObjCRuntime.AvailabilityAttribute from a MemberInfo.
static
Merge(IEnumerable<object>) : AvailabilityAttribute
Returns an availability attribute that is made up of the merged Introduced, Obsoleted, Deprecated and Unavailable properties (including a concatenated version of the message attribute).
override
ToString() : string
Returns a human readable version of the availability attribute.