This documentation is archived and is not being maintained.

PropertyBag::HasProperty Method

Checks whether this collection has a property that has the specified name.

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

public:
bool HasProperty(
	String^ key
)

Parameters

key
Type: System::String

The name of the property.

Return Value

Type: System::Boolean
True if this collection has a property that has the specified name; otherwise, false.

Show: