This documentation is archived and is not being maintained.

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)

public:
generic<typename T>
T GetProperty(
	String^ key
)

Type Parameters

T

The type of the property.

Parameters

key
Type: System::String

The name of the property to get.

Return Value

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

Show: