Determines whether the IStringStringDictionary contains the specified String key.

Namespace: CodeSmith.CustomProperties
Assembly: CodeSmith.CustomProperties (in CodeSmith.CustomProperties.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
bool Contains(
	string key
)
Visual Basic
Function Contains ( 
	key As String
) As Boolean

Parameters

key
Type: System..::..String
The String key to locate in the IStringStringDictionary.

Return Value

Type: Boolean
true if the IStringStringDictionary contains an element with the specified key; otherwise, false.

Remarks

Please refer to Contains(Object) for details.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionkey is a null reference.
System..::..InvalidOperationException The comparer throws an exception.

See Also