Determines whether the NameValueCollection
contains the specified NameValueEntry element.
Namespace: CodeSmith.CustomPropertiesAssembly: 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 |
Parameters
- entry
- Type: CodeSmith.CustomProperties..::..NameValueEntry
The NameValueEntry object to locate in the NameValueCollection.
Return Value
Type: Booleantrue 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.