ObsoletedAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ObsoletedAttribute(PlatformName, PlatformArchitecture, String) |
Initializes a new availability attribute specifying that an API is obsolete 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, Int32, 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.
public ObsoletedAttribute (ObjCRuntime.PlatformName platform, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.ObsoletedAttribute : ObjCRuntime.PlatformName * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.ObsoletedAttribute
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
ObsoletedAttribute(PlatformName, Int32, Int32, PlatformArchitecture, String)
Initializes a new availability attribute specifying when the API was obsoleted on the specified platform.
public ObsoletedAttribute (ObjCRuntime.PlatformName platform, int majorVersion, int minorVersion, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.ObsoletedAttribute : ObjCRuntime.PlatformName * int * int * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.ObsoletedAttribute
Parameters
- platform
- PlatformName
The platform this availability attribute applies to.
- majorVersion
- Int32
The major version.
- minorVersion
- Int32
The minor version.
- 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
ObsoletedAttribute(PlatformName, Int32, Int32, Int32, PlatformArchitecture, String)
Initializes a new availability attribute specifying when the API was obsoleted on the specified platform.
public ObsoletedAttribute (ObjCRuntime.PlatformName platform, int majorVersion, int minorVersion, int subminorVersion, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.None, string message = null);
new ObjCRuntime.ObsoletedAttribute : ObjCRuntime.PlatformName * int * int * int * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.ObsoletedAttribute
Parameters
- platform
- PlatformName
The platform this availability attribute applies to.
- majorVersion
- Int32
The major version.
- minorVersion
- Int32
The minor version.
- subminorVersion
- Int32
The subminor version.
- 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.