Share via


TeamFoundationRequestContext.TryGetItem<T> Method

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

Syntax

'Declaration
Public Function TryGetItem(Of T) ( _
    key As String, _
    <OutAttribute> ByRef value As T _
) As Boolean
public bool TryGetItem<T>(
    string key,
    out T value
)
public:
generic<typename T>
bool TryGetItem(
    String^ key, 
    [OutAttribute] T% value
)
member TryGetItem : 
        key:string * 
        value:'T byref -> bool
JScript does not support generic types or methods.

Type Parameters

  • T

Parameters

  • value
    Type: T%

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace