Share via


ReflectionPermissionAttribute.ReflectionEmit プロパティ

定義

注意事項

この API は非推奨になりました。

注意事項

ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.

注意事項

This permission is no longer used by the CLR.

System.Reflection.Emit の特定の機能 (デバッグ記号の出力など) を使用できるかどうかを示す値を取得または設定します。

public:
 property bool ReflectionEmit { bool get(); void set(bool value); };
[System.Obsolete]
public bool ReflectionEmit { get; set; }
[System.Obsolete("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")]
public bool ReflectionEmit { get; set; }
public bool ReflectionEmit { get; set; }
[System.Obsolete("This permission is no longer used by the CLR.")]
public bool ReflectionEmit { get; set; }
[<System.Obsolete>]
member this.ReflectionEmit : bool with get, set
[<System.Obsolete("ReflectionPermissionAttribute.ReflectionEmit has been deprecated and is not supported.")>]
member this.ReflectionEmit : bool with get, set
member this.ReflectionEmit : bool with get, set
[<System.Obsolete("This permission is no longer used by the CLR.")>]
member this.ReflectionEmit : bool with get, set
Public Property ReflectionEmit As Boolean

プロパティ値

対象の機能を使用できる場合は true。それ以外の場合は false

属性

注釈

注意

.NET Framework 2.0 Service Pack 1 以降では、 フラグを使用ReflectionPermissionFlag.ReflectionEmitしてコードを出力する必要ReflectionPermissionがなくなりました。 デバッグ シンボルの出力など、リフレクション出力の一部の機能では、 フラグが ReflectionPermissionFlag.ReflectionEmit 必要です。 ( リフレクション出力のセキュリティの問題に関するページを参照してください)。

この機能を使用するには、アプリケーションで .NET Framework 3.5 以降をターゲットにする必要があります。

適用対象