ApplicationSettingsBase.Properties 属性

定义

获取包装中的设置属性的集合。

public:
 virtual property System::Configuration::SettingsPropertyCollection ^ Properties { System::Configuration::SettingsPropertyCollection ^ get(); };
[System.ComponentModel.Browsable(false)]
public override System.Configuration.SettingsPropertyCollection Properties { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Properties : System.Configuration.SettingsPropertyCollection
Public Overrides ReadOnly Property Properties As SettingsPropertyCollection

属性值

SettingsPropertyCollection

一个 SettingsPropertyCollection,包含当前包装中使用的所有 SettingsProperty 对象。

属性

例外

未能找到关联的设置提供程序,或者其实例化失败。

注解

属性 get 的访问 Properties 器反映设置包装类的元数据(派生自 ApplicationSettingsBase)以动态确定可用应用程序设置属性集。

ApplicationSettingsBase 以本机方式识别应用程序设置的某些特征,例如其名称、属性类型、设置提供程序、默认值、只读状态和序列化首选项。 这些特征作为类中的 SettingsProperty 属性进行镜像。 设置属性的所有其他属性都只是传递给其关联的设置提供程序。

适用于

另请参阅