Determines whether the specified collection contains key.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim collection As SourceCode.SmartObjects.Client.ServiceElementCollection
Dim key As String
Dim value As Boolean
value = ServiceElementsExtensions.ContainsKey(collection, key)
|
Parameters
- collection
- The collection.
- key
- The key.
Return Value
true
if the specified collection contains key; otherwise,
false
.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also