LumiSoft Net Help
FTP_ListItem Constructor (name, size, modified, isDir)
Namespaces ► LumiSoft.Net.FTP ► FTP_ListItem ► FTP_ListItem(String, Int64, DateTime, Boolean)
Default constructor.
Declaration Syntax

C# | Visual Basic | Visual C++ | F#

    public FTP_ListItem(
    	string name,
    	long size,
    	DateTime modified,
    	bool isDir
    )

    Public Sub New (
    	name As String,
    	size As Long,
    	modified As DateTime,
    	isDir As Boolean
    )

    public:
    FTP_ListItem(
    	String^ name,
    	long long size,
    	DateTime modified,
    	bool isDir
    )

    new :
            name : string *
            size : int64 *
            modified : DateTime *
            isDir : bool -> FTP_ListItem

Parameters

name (String)
  Directory or file name.

size (Int64)
  File size in bytes, zero for directory.

modified (DateTime)
  Directory or file last modification time.

isDir (Boolean)
  Specifies if list item is directory or file.

Exceptions

Exception | Condition
--- | ---
ArgumentNullException | Is raised when name is null.
ArgumentException | Is raised when any of the arguments has invalid value.

Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119