DeprecatedAttribute クラス

定義

特定のプラットフォームで API が非推奨になったタイミングを示す属性。

public sealed class DeprecatedAttribute : ObjCRuntime.AvailabilityBaseAttribute
type DeprecatedAttribute = class
    inherit AvailabilityBaseAttribute
継承
DeprecatedAttribute

注釈

このクラスは、インスタンスを作成するためのショートカットです AvailabilityBaseAttribute

コンストラクター

DeprecatedAttribute(PlatformName, Int32, Int32, Int32, PlatformArchitecture, String)

指定したプラットフォームで API が非推奨になった日時を指定する新しい可用性属性を初期化します。

DeprecatedAttribute(PlatformName, Int32, Int32, PlatformArchitecture, String)

指定したプラットフォームで API が非推奨になった日時を指定する新しい可用性属性を初期化します。

DeprecatedAttribute(PlatformName, PlatformArchitecture, String)

指定したプラットフォームで API が非推奨であることを指定して、新しい可用性属性を初期化します。

プロパティ

Architecture

属性が適用されるアーキテクチャ (32 ビットのみ、64 ビットのみ、または 32 ビットアーキテクチャと 64 ビット アーキテクチャの両方)。

(継承元 AvailabilityBaseAttribute)
AvailabilityKind

この属性に含まれる可用性情報の種類。

(継承元 AvailabilityBaseAttribute)
Message

可用性情報に関連する追加情報。

(継承元 AvailabilityBaseAttribute)
Platform

この可用性属性が適用されるプラットフォーム。

(継承元 AvailabilityBaseAttribute)
Version

API が導入された、非推奨、廃止された、または使用できなくなったバージョン。

(継承元 AvailabilityBaseAttribute)

メソッド

ToString()

人間が判読できる可用性属性のバージョンを返します。

(継承元 AvailabilityBaseAttribute)

適用対象