TeamFoundationRegistryService.GetValue<T> Method (TeamFoundationRequestContext, String, 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, _
path As String, _
defaultValue As T _
) As T
public T GetValue<T>(
TeamFoundationRequestContext requestContext,
string path,
T defaultValue
)
public:
generic<typename T>
T GetValue(
TeamFoundationRequestContext^ requestContext,
String^ path,
T defaultValue
)
member GetValue :
requestContext:TeamFoundationRequestContext *
path:string *
defaultValue:'T -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
- path
Type: System.String
- defaultValue
Type: T
Return Value
Type: T
.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.