ApplicationSettingsBase.Properties Propriedade

Definição

Obtém a coleção de propriedades de configurações no wrapper.Gets the collection of settings properties in the wrapper.

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

Valor da propriedade

SettingsPropertyCollection

Um SettingsPropertyCollection que contém todos os objetos SettingsProperty usados no wrapper atual.A SettingsPropertyCollection containing all the SettingsProperty objects used in the current wrapper.

Atributos

Exceções

Não foi possível localizar o provedor de configurações associado ou houve falha na sua instanciação.The associated settings provider could not be found or its instantiation failed.

Comentários

O get acessador da Properties propriedade reflete os metadados da classe wrapper das configurações, que é derivada de ApplicationSettingsBase , para determinar dinamicamente o conjunto de propriedades de configurações de aplicativo disponíveis.The get accessor of the Properties property reflects over the metadata of the settings wrapper class, which is derived from ApplicationSettingsBase, to dynamically determine the set of available application settings properties.

A ApplicationSettingsBase classe reconhece nativamente determinadas características de uma configuração de aplicativo, como nome, tipo de propriedade, provedor de configurações, valor padrão, status somente leitura e preferência de serialização.The ApplicationSettingsBase class natively recognizes certain characteristics of an application setting, such as its name, property type, settings provider, default value, read only status, and a serialization preference. Essas características são espelhadas como propriedades na SettingsProperty classe.These characteristics are mirrored as properties in the SettingsProperty class. Todos os outros atributos da propriedade configurações são passados apenas para seu provedor de configurações associado.All other attributes of the settings property are just passed through to its associated settings provider.

Aplica-se a

Confira também