ConfigurationElement.HasContext プロパティ

定義

CurrentConfiguration プロパティが null であるかどうかを示す値を取得します。

C#
protected bool HasContext { get; }

プロパティ値

CurrentConfiguration プロパティが null の場合は false、それ以外の場合は true

適用対象

製品 バージョン
.NET Framework 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