ConfigurationElement.HasContext 属性
定义
获取一个值,该值指示 CurrentConfiguration 属性是否为 null
。Gets 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
;否则为 true
。false if the CurrentConfiguration property is null
; otherwise, true
.