SettingsStore.GetString 메서드

정의

오버로드

GetString(String, String, String)

데이터 형식이 인 요청된 속성의 값을 반환합니다 String.

GetString(String, String)

데이터 형식이 인 요청된 속성의 값을 반환합니다 String.

GetString(String, String, String)

데이터 형식이 인 요청된 속성의 값을 반환합니다 String.

public:
 abstract System::String ^ GetString(System::String ^ collectionPath, System::String ^ propertyName, System::String ^ defaultValue);
public:
 abstract Platform::String ^ GetString(Platform::String ^ collectionPath, Platform::String ^ propertyName, Platform::String ^ defaultValue);
 abstract std::wstring GetString(std::wstring const & collectionPath, std::wstring const & propertyName, std::wstring const & defaultValue);
public abstract string GetString (string collectionPath, string propertyName, string defaultValue);
abstract member GetString : string * string * string -> string
Public MustOverride Function GetString (collectionPath As String, propertyName As String, defaultValue As String) As String

매개 변수

collectionPath
String

속성 컬렉션의 경로입니다.

propertyName
String

속성의 이름입니다.

defaultValue
String

속성이 없는 경우 반환할 값입니다.

반환

속성이 없으면 전달된 defaultValue를 반환합니다.

예외

속성이 다른 형식인 경우 이 예외를 throw합니다.

적용 대상

GetString(String, String)

데이터 형식이 인 요청된 속성의 값을 반환합니다 String.

public:
 abstract System::String ^ GetString(System::String ^ collectionPath, System::String ^ propertyName);
public:
 abstract Platform::String ^ GetString(Platform::String ^ collectionPath, Platform::String ^ propertyName);
 abstract std::wstring GetString(std::wstring const & collectionPath, std::wstring const & propertyName);
public abstract string GetString (string collectionPath, string propertyName);
abstract member GetString : string * string -> string
Public MustOverride Function GetString (collectionPath As String, propertyName As String) As String

매개 변수

collectionPath
String

속성 컬렉션의 경로입니다.

propertyName
String

속성의 이름입니다.

반환

속성의 값입니다.

예외

속성이 다른 형식이거나 없는 경우 이 예외를 throw합니다.

적용 대상