ServicingContext.TryGetItem<T> Method

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

Syntax

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

Type Parameters

  • T

Parameters

  • item
    Type: T%

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

ServicingContext Class

Microsoft.TeamFoundation.Framework.Server Namespace