編輯

共用方式為


UnavailableAttribute(PlatformName, PlatformArchitecture, String) Constructor

Definition

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

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

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