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)
Syntax
'Declaration
Public Function HasProperty ( _
key As String _
) As Boolean
public bool HasProperty(
string key
)
public:
bool HasProperty(
String^ key
)
member HasProperty :
key:string -> bool
public function HasProperty(
key : String
) : boolean
Parameters
key
Type: System.StringThe name of the property.
Return Value
Type: System.Boolean
True if this collection has a property that has the specified name; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.