Determines whether the NameValueCollection contains the specified NameValueEntry element.

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

Syntax

C#
public bool Contains(
	NameValueEntry entry
)
Visual Basic
Public Function Contains ( 
	entry As NameValueEntry
) As Boolean

Return Value

Type: Boolean
true if entry is found in the NameValueCollection; otherwise, false.

Implements

IStringStringList..::..Contains(NameValueEntry)

Remarks

Please refer to Contains(Object) for details.

Contains uses the equality operators defined by String and String to locate the specified entry.

See Also