Share via


ItemCollection<T>.TryGetValue Method

Namespace:  Microsoft.TeamFoundation.Warehouse
Assembly:  Microsoft.TeamFoundation.Warehouse (in Microsoft.TeamFoundation.Warehouse.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    name As String, _
    <OutAttribute> ByRef item As T _
) As Boolean
public bool TryGetValue(
    string name,
    out T item
)
public:
bool TryGetValue(
    String^ name, 
    [OutAttribute] T% item
)
member TryGetValue : 
        name:string * 
        item:'T byref -> bool
public function TryGetValue(
    name : String, 
    item : T
) : boolean

Parameters

  • item
    Type: T%

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

ItemCollection<T> Class

Microsoft.TeamFoundation.Warehouse Namespace