IPreferences.GetValue Method

Applies to v2.

Returns a preferences value given a key. Returns null if no value was set.

Namespace:  Microsoft.WebMatrix.Extensibility
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Function GetValue ( _
    key As String _
) As String
'Usage
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

Parameters

Return Value

Type: System.String
A preferences value.

See Also

Reference

IPreferences Interface

Microsoft.WebMatrix.Extensibility Namespace