RequiresPreviewFeaturesAttribute クラス

定義

API がプレビュー中であることを示します。 この属性を使用すると、プレビュー機能が使用されることを示す診断で通話サイトにフラグを設定できます。 作成者は、この属性を使用して、アセンブリ内のプレビュー機能を出荷できます。

public ref class RequiresPreviewFeaturesAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)]
public sealed class RequiresPreviewFeaturesAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Module | System.AttributeTargets.Property | System.AttributeTargets.Struct, Inherited=false)>]
type RequiresPreviewFeaturesAttribute = class
    inherit Attribute
Public NotInheritable Class RequiresPreviewFeaturesAttribute
Inherits Attribute
継承
RequiresPreviewFeaturesAttribute
属性

注釈

RequiresPreviewFeaturesAttribute は、.NET ランタイム、そのコア ライブラリ、およびコンパイラからのプレビュー機能を必要とする API をマークします。 この API はプラットフォーム提供の機能を目的としており、通常はユーザー コードでは使用しないでください。

独自のライブラリでプレビュー機能を配布する場合は、代わりに を使用 ExperimentalAttribute します。

API をプレビューとしてマークする方法の詳細については、「プレビュー API」を参照してください。

コンストラクター

RequiresPreviewFeaturesAttribute()

RequiresPreviewFeaturesAttribute クラスの新しいインスタンスを初期化します。

RequiresPreviewFeaturesAttribute(String)

指定したメッセージを使用して、RequiresPreviewFeaturesAttribute クラスの新しいインスタンスを初期化します。

プロパティ

Message

この属性インスタンスに関連付けられている省略可能なメッセージを取得します。

TypeId

派生クラスで実装されると、この Attribute の一意の識別子を取得します。

(継承元 Attribute)
Url

この属性インスタンスに関連付けられている省略可能な URL を取得または設定します。

メソッド

Equals(Object)

このインスタンスが、指定されたオブジェクトと等価であるかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

このインスタンスのハッシュ コードを返します。

(継承元 Attribute)
GetType()

現在のインスタンスの Type を取得します。

(継承元 Object)
IsDefaultAttribute()

派生クラスでオーバーライドされるとき、このインスタンスの値が派生クラスの既定値であるかどうかを示します。

(継承元 Attribute)
Match(Object)

派生クラス内でオーバーライドされたときに、指定したオブジェクトとこのインスタンスが等しいかどうかを示す値を返します。

(継承元 Attribute)
MemberwiseClone()

現在の Object の簡易コピーを作成します。

(継承元 Object)
ToString()

現在のオブジェクトを表す文字列を返します。

(継承元 Object)

適用対象

こちらもご覧ください