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

屬性值

如果 CurrentConfiguration 屬性為 null 則為 false,否則為 truefalse if the CurrentConfiguration property is null; otherwise, true.

適用於