ClientSettingsProvider.GetPreviousVersion Metoda

Definicja

Pobiera poprzednią wersję określonej właściwości.

public:
 virtual System::Configuration::SettingsPropertyValue ^ GetPreviousVersion(System::Configuration::SettingsContext ^ context, System::Configuration::SettingsProperty ^ property);
public System.Configuration.SettingsPropertyValue GetPreviousVersion (System.Configuration.SettingsContext context, System.Configuration.SettingsProperty property);
abstract member GetPreviousVersion : System.Configuration.SettingsContext * System.Configuration.SettingsProperty -> System.Configuration.SettingsPropertyValue
override this.GetPreviousVersion : System.Configuration.SettingsContext * System.Configuration.SettingsProperty -> System.Configuration.SettingsPropertyValue
Public Function GetPreviousVersion (context As SettingsContext, property As SettingsProperty) As SettingsPropertyValue

Parametry

context
SettingsContext

Ten parametr nie jest używany przez tę metodę.

property
SettingsProperty

Reprezentuje właściwość , aby pobrać poprzednią wersję.

Zwraca

SettingsPropertyValue

Reprezentuje poprzednią wersję określonej właściwości.

Implementuje

Wyjątki

Wartość IsOffline właściwości to false i usługa ustawień sieci Web w ServiceUri lokalizacji jest niedostępna.

Uwagi

Ta metoda jest używana wewnętrznie przez system ustawień aplikacji i nie jest przeznaczona do użycia przez kod aplikacji.

Dotyczy

Zobacz też