LocalFileSettingsProvider.GetPropertyValues 메서드

정의

지정된 애플리케이션 인스턴스와 설정 속성 그룹에 대한 설정 속성 값의 컬렉션을 반환합니다.

public:
 override System::Configuration::SettingsPropertyValueCollection ^ GetPropertyValues(System::Configuration::SettingsContext ^ context, System::Configuration::SettingsPropertyCollection ^ properties);
public override System.Configuration.SettingsPropertyValueCollection GetPropertyValues (System.Configuration.SettingsContext context, System.Configuration.SettingsPropertyCollection properties);
override this.GetPropertyValues : System.Configuration.SettingsContext * System.Configuration.SettingsPropertyCollection -> System.Configuration.SettingsPropertyValueCollection
Public Overrides Function GetPropertyValues (context As SettingsContext, properties As SettingsPropertyCollection) As SettingsPropertyValueCollection

매개 변수

context
SettingsContext

현재 애플리케이션의 용도를 설명하는 SettingsContext입니다.

properties
SettingsPropertyCollection

값이 검색될 설정 속성 그룹을 포함하는 SettingsPropertyCollection입니다.

반환

지정된 설정 속성 그룹에 대한 값을 포함하는 SettingsPropertyValueCollection입니다.

예외

사용자 범위 설정이 발견되었지만 현재 구성이 애플리케이션 범위 설정만 지원하는 경우

설명

합니다 GetPropertyValues 메서드는 또한 특별 한 애플리케이션 설정 유형 관리 ConnectionString합니다. 연결 문자열은 요소 <connectionstrings>로 구분된 구성 파일의 특수 섹션에 저장됩니다.

주의

LocalFileSettingsProvider 는 암호화를 사용하여 설정을 유지하지 않습니다. 따라서 구성 파일 내에서 정보를 별도로 암호화하는 등의 추가 예방 조치를 취하지 않고 이 공급자를 사용하여 일반 텍스트 암호 또는 기타 중요한 정보를 저장하지 마세요. 자세한 내용은 보호된 구성을 사용하여 구성 정보 암호화를 참조하세요.

적용 대상

추가 정보