BetterExplorer.Networks.FileSystem.File.File C# (CSharp) Метод

File() публичный Метод

Creates a new file system object of the File type.
public File ( string name, string path, Directory parent, System.DateTime creationdate, long size ) : System
name string The name of the file.
path string The path to access the file.
parent Directory
creationdate System.DateTime The date the file was created.
size long The size, in bytes, of the file.
Результат System
		public File(string name, string path, Directory parent, DateTime? creationdate, long? size)
		{

			this.Name = name;
			this.Path = path;
			this.Parent = parent;
			this.Type = FileSystemObjectType.File;
			if (size.HasValue)
			{
				this.Size = size.Value;
			}
			if (creationdate.HasValue)
			{
				this.CreationDate = creationdate.Value;
			}
		}
	}
File