LocalItemCollection.Contains Method
Namespace: Rebex.IO
Assembly: Rebex.Common.dll (version 7.0.9119)
Contains(LocalItem)
Determines whether the item is in the collection.
Declaration
public bool Contains(LocalItem item)
Parameters
Type | Name | Description |
---|---|---|
LocalItem | item | The item to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean | True if the item is located in the collection; false otherwise. |
Implements
Contains(String)
Determines whether the item with the specified path is in the colleciton.
Declaration
public override bool Contains(string path)
Parameters
Type | Name | Description |
---|---|---|
String | path | The path to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean | True if the item with the specified path is located in the collection; false otherwise. |
Overrides
Contains(FileSystemItem)
Determines whether the item is in the collection. Inherited from FileSystemItemCollection.
Declaration
public bool Contains(FileSystemItem item)
Parameters
Type | Name | Description |
---|---|---|
FileSystemItem | item | The item to locate in the collection. |
Returns
Type | Description |
---|---|
Boolean | True if the item is located in the collection; false otherwise. |