ConfigurationElement.HasContext ConfigurationElement.HasContext ConfigurationElement.HasContext ConfigurationElement.HasContext Property

定义

获取一个值,该值指示 CurrentConfiguration 属性是否为 nullGets a value that indicates whether the CurrentConfiguration property is null.

protected:
 property bool HasContext { bool get(); };
protected bool HasContext { get; }
member this.HasContext : bool
Protected ReadOnly Property HasContext As Boolean

属性值

false,如果 CurrentConfiguration 属性为 null;否则为 truefalse if the CurrentConfiguration property is null; otherwise, true.

适用于