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