Determines whether an element is in the collection with the specified owner and name.
Namespace: SchemaExplorerAssembly: SchemaExplorer (in SchemaExplorer.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public bool Contains( string owner, string name ) |
Visual Basic |
---|
Public Function Contains ( owner As String, name As String ) As Boolean |
Parameters
- owner
- Type: System..::..String
The owner of the item to locate in the collection.
- 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.
Implements
ISchemaObjectWithOwnerCollection<(Of <(<'T>)>)>..::..Contains(String, String)IReadOnlySchemaObjectWithOwnerCollection<(Of <(<'T>)>)>..::..Contains(String, String)