PropertyBag.GetProperty<T> Method (String)

Gets the property in this collection that has the specified name.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Function GetProperty(Of T) ( _
    key As String _
) As T
public T GetProperty<T>(
    string key
)
public:
generic<typename T>
T GetProperty(
    String^ key
)
member GetProperty : 
        key:string -> 'T 
JScript does not support generic types or methods.

Type Parameters

  • T
    The type of the property.

Parameters

Return Value

Type: T
The property in this collection that has the specified name.

.NET Framework Security

See Also

Reference

PropertyBag Class

GetProperty Overload

Microsoft.TeamFoundation.Client Namespace