CompilerFeatureRequiredAttribute クラス

定義

この属性が適用される場所に対して、特定の機能に対するコンパイラのサポートが必要であることを示します。

public ref class CompilerFeatureRequiredAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=false)]
public sealed class CompilerFeatureRequiredAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.All, AllowMultiple=true, Inherited=false)>]
type CompilerFeatureRequiredAttribute = class
    inherit Attribute
Public NotInheritable Class CompilerFeatureRequiredAttribute
Inherits Attribute
継承
CompilerFeatureRequiredAttribute
属性

コンストラクター

名前 説明
CompilerFeatureRequiredAttribute(String)

渡されたコンパイラ機能の CompilerFeatureRequiredAttribute インスタンスを初期化します。

フィールド

名前 説明
RefStructs

ref 構造体 C# 機能に使用される FeatureName

RequiredMembers

FeatureName必要なメンバー C# 機能に使用されます。

プロパティ

名前 説明
FeatureName

コンパイラ機能の名前。

IsOptional

コンパイラが FeatureNameを理解していない場合に、この属性が適用される場所へのアクセスを許可できるかどうかを示す値を取得します。

TypeId

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

(継承元 Attribute)

メソッド

名前 説明
Equals(Object)

このインスタンスが指定したオブジェクトと等しいかどうかを示す値を返します。

(継承元 Attribute)
GetHashCode()

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

(継承元 Attribute)
GetType()

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

(継承元 Object)
IsDefaultAttribute()

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

(継承元 Attribute)
Match(Object)

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

(継承元 Attribute)
MemberwiseClone()

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

(継承元 Object)
ToString()

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

(継承元 Object)

適用対象