Initializes a new instance of the SftpItem class.
Namespace:
Rebex.Net
Assembly:
Rebex.Sftp (in Rebex.Sftp.dll)
Syntax
Visual Basic |
---|
Public Sub New ( _ filename As String, _ size As Long, _ type As SftpItemType, _ accessed As Nullable(Of DateTime), _ modified As Nullable(Of DateTime) _ ) |
C# |
---|
public SftpItem( string filename, long size, SftpItemType type, Nullable<DateTime> accessed, Nullable<DateTime> modified ) |
Parameters
- filename
- Type: System..::..String
The name of the file or directory.
- size
- Type: System..::..Int64
The size of the file.
- type
- Type: Rebex.Net..::..SftpItemType
The type of item.
- accessed
- Type: System..::..Nullable<(Of <(<'DateTime>)>)>
The Nullable<(Of <(<'T>)>)> of last access.
- modified
- Type: System..::..Nullable<(Of <(<'DateTime>)>)>
The Nullable<(Of <(<'T>)>)> of last modification.