TeamFoundationBaseRegistryService.GetValue Method (TeamFoundationRequestContext, String, Boolean, String)
GetValue will return the value for the specified path as a string.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Overridable Function GetValue ( _
requestContext As TeamFoundationRequestContext, _
path As String, _
fallThru As Boolean, _
defaultValue As String _
) As String
public virtual string GetValue(
TeamFoundationRequestContext requestContext,
string path,
bool fallThru,
string defaultValue
)
public:
virtual String^ GetValue(
TeamFoundationRequestContext^ requestContext,
String^ path,
bool fallThru,
String^ defaultValue
)
abstract GetValue :
requestContext:TeamFoundationRequestContext *
path:string *
fallThru:bool *
defaultValue:string -> string
override GetValue :
requestContext:TeamFoundationRequestContext *
path:string *
fallThru:bool *
defaultValue:string -> string
public function GetValue(
requestContext : TeamFoundationRequestContext,
path : String,
fallThru : boolean,
defaultValue : String
) : String
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
path
Type: System.StringLocation in the registry to read the setting from.
fallThru
Type: System.BooleanIf the value is not found and a fall through hive is available read it from there.
defaultValue
Type: System.StringIf the registry value does not exist the default value is returned.
Return Value
Type: System.String
The registry value for the specified location
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.