Determines whether an element is in the collection with the specified name.
Namespace: SchemaExplorerAssembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public bool Contains( string name ) |
Visual Basic |
---|
Public Function Contains ( name As String ) As Boolean |
Parameters
- name
- Type: System..::..String
The name of the item to locate in the collection.
Return Value
Type: Booleantrue if item is found in the collection; otherwise, false.