다음을 통해 공유


IPreferences.GetValue 메서드

버전 2에 적용

키가 지정된 기본 설정 값을 반환합니다. 값이 설정되어 있지 않으면 null을 반환합니다.

네임스페이스:  Microsoft.WebMatrix.Extensibility
어셈블리:  Microsoft.WebMatrix.Extensibility(Microsoft.WebMatrix.Extensibility.dll)

구문

‘선언
Function GetValue ( _
    key As String _
) As String
‘사용 방법
Dim instance As IPreferences 
Dim key As String 
Dim returnValue As String 

returnValue = instance.GetValue(key)
string GetValue(
    string key
)
String^ GetValue(
    String^ key
)
abstract GetValue : 
        key:string -> string
function GetValue(
    key : String
) : String

매개 변수

반환 값

유형: System.String
기본 설정 값입니다.

참고 항목

참조

IPreferences 인터페이스

Microsoft.WebMatrix.Extensibility 네임스페이스