Share via


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

  • path
    Type: System.String

    Location in the registry to read the setting from.

  • fallThru
    Type: System.Boolean

    If the value is not found and a fall through hive is available read it from there.

  • defaultValue
    Type: System.String

    If 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

See Also

Reference

TeamFoundationBaseRegistryService Class

GetValue Overload

Microsoft.TeamFoundation.Framework.Server Namespace