Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SftpItemCollection.Contains Method

Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9147)

Contains(SftpItem)

Determines whether the item is in the collection.

Declaration
public bool Contains(SftpItem item)
Parameters
Type Name Description
SftpItem item

The item to locate in the collection.

Returns
Type Description
Boolean

True if the item is located in the collection; false otherwise.

Implements
ICollection<T>.Contains(T)

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.

Implements
ICollection<T>.Contains(T)

Contains(String)

Determines whether the item with the specified path is in the collection. Inherited from FileSystemItemCollection.

Declaration
public virtual 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.

In This Article
  • Contains(SftpItem)
  • Contains(FileSystemItem)
  • Contains(String)
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies