SftpItemCollection.Item Property
Namespace: Rebex.Net
Assembly: Rebex.Sftp.dll (version 7.0.9448)
Item[Int32]
Gets the item at the specified index.
Declaration
public SftpItem this[int index] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | index | A zero-based index of the item to get. |
Property Value
| Type | Description |
|---|---|
| SftpItem | Item at the specified index. |
Item[String]
Gets the item of the specified path.
Declaration
public SftpItem this[string path] { get; }
Parameters
| Type | Name | Description |
|---|---|---|
| String | path | The path of the item to get. |
Property Value
| Type | Description |
|---|---|
| SftpItem | Item with the specified path, or null if not found. |