Delen via


TeamFoundationBaseRegistryService.GetValue<T> Method (TeamFoundationRequestContext, Guid, String, Boolean, T)

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Function GetValue(Of T) ( _
    requestContext As TeamFoundationRequestContext, _
    teamFoundationId As Guid, _
    path As String, _
    fallThru As Boolean, _
    defaultValue As T _
) As T
public T GetValue<T>(
    TeamFoundationRequestContext requestContext,
    Guid teamFoundationId,
    string path,
    bool fallThru,
    T defaultValue
)
public:
generic<typename T>
T GetValue(
    TeamFoundationRequestContext^ requestContext, 
    Guid teamFoundationId, 
    String^ path, 
    bool fallThru, 
    T defaultValue
)
member GetValue : 
        requestContext:TeamFoundationRequestContext * 
        teamFoundationId:Guid * 
        path:string * 
        fallThru:bool * 
        defaultValue:'T -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • defaultValue
    Type: T

Return Value

Type: T
Returns String.

.NET Framework Security

See Also

Reference

TeamFoundationBaseRegistryService Class

GetValue Overload

Microsoft.TeamFoundation.Framework.Server Namespace