LocalFileSettingsProvider.GetPreviousVersion 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
동일한 애플리케이션의 이전 버전에 대한 명명된 설정 속성의 값을 반환합니다.
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
매개 변수
- context
- SettingsContext
애플리케이션 설정 속성이 사용되는 위치를 설명하는 A SettingsContext 입니다.
- property
- SettingsProperty
SettingsProperty 반환할 값입니다.
반품
SettingsPropertyValue 애플리케이션 설정(있는 경우)을 나타내는 값입니다. 그렇지 않으면 null.
구현
설명
이 GetPreviousVersion 메서드는 새 버전의 애플리케이션을 Upgrade 설치하는 동안 애플리케이션 설정을 마이그레이션할 때 메서드와 함께 사용되는 경우가 많습니다. 자세한 내용은 Upgrade 메서드를 참조하세요.