ConfigurationElement.EvaluationContext プロパティ
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
ContextInformation オブジェクトの ConfigurationElement オブジェクトを取得します。
protected:
property System::Configuration::ContextInformation ^ EvaluationContext { System::Configuration::ContextInformation ^ get(); };
protected System.Configuration.ContextInformation EvaluationContext { get; }
member this.EvaluationContext : System.Configuration.ContextInformation
Protected ReadOnly Property EvaluationContext As ContextInformation
ContextInformation の ConfigurationElement。
現在の要素はコンテキストに関連付けられていません。
オブジェクトは ContextInformation 、オブジェクトが評価される場所に基づいて決定を行うために必要な ConfigurationElement コンテキストを提供します。
オブジェクトは ContextInformation 、構成の要素に関連する環境の詳細を提供します。 たとえば、 プロパティを IsMachineLevel 使用して、 が Machine.config に設定されたかどうかを ConfigurationElement 判断したり、 プロパティを使用して要素が属する階層 ConfigurationElement を HostingContext 特定したりできます。
製品 | バージョン |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。