Edit

Share via


AvailabilityAttribute.Obsoleted Property

Definition

The first version in which the API was obsoleted from a given platform

public ObjCRuntime.Platform Obsoleted { get; set; }
member this.Obsoleted : ObjCRuntime.Platform with get, set

Property Value

The first version in which the API was obsoleted from a given platform

Remarks

This means the API no longer exists and cannot be used at all - a crash at runtime will occur if used on Xamarin. Native code referencing obsolete API will fail to compile (the attribute is enforced by Clang).

Applies to