Name | Description | |
---|---|---|
![]() | NFile Constructor | Overloaded. |
The following tables list the members exposed by NFile.
Name | Description | |
---|---|---|
![]() | NFile Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Extension | Gets the extension of this file without the dot, for example: "txt", "rtf", "docx", etc. If the given file name does not have an extension, String.Empty is returned. |
![]() | FileSystem | Gets the file system associated with this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | Name | Returns only the name of the file system object, without the path information. For example if the path is "C:\Documents\MyFile.txt", this method returns "MyFile.txt". To get the full path to this file system object, use the Path property. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | NameWithoutExtension | Gets the name of this file without the extension. |
![]() | Path | Gets the full path of this file system object, in the FileSystem path notation (Windows or Unix). (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | Uri | Gets the file URI of this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
Name | Description | |
---|---|---|
![]() | vOWd | (Inherited from Nevron.Nov.IO.NFileSystemObject) |
Name | Description | |
---|---|---|
![]() | CopyAsync | Copies this file to the specified destination. |
![]() | CreateAsync | Creates a file for both reading and writing. If the file already exists it is overwritten. |
![]() | DeepClone | Overridden. Creates an identical copy of this object. |
![]() | Delete | Deletes this object. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | Equals | Checks whether the given object is equal to this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | Exists | Checks whether the file system object exists. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | GetAttributes | Gets the attributes of this file or directory. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | GetHashCode | Gets the hash for this file system object. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | GetLengthAsync | Gets the size of the file in bytes. |
![]() | GetParentFolder | Gets the folder that contains this object (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | GetTime | Gets the specifies file system object time stamp. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | MoveAsync | Moves this file to the specified destination |
![]() | OpenAsync | Opens an existing file or creates a new file for both reading and writing. |
![]() | OpenReadAsync | Opens the file for reading. |
![]() | OpenWriteAsync | Opens an existing file or creates a new file for writing. |
![]() | ReadAllBytesAsync | Opens the file for reading, reads it and returns its byte content. |
![]() | ReadAllTextAsync | Overloaded. Opens the file for reading, and reads the contents of this file as a string using UTF-8 text encoding. |
![]() | ReadBytesAsync | Reads the given number of bytes from this file or the whole file if it is smaller than the given number of bytes. |
![]() | SetAttributes | Sets the attributes of this file or directory. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | SetTime | Sets the specifies file system object time stamp. (Inherited from Nevron.Nov.IO.NFileSystemObject) |
![]() | WriteAllBytesAsync | Writes the given byte array to the file. If the file exists, it is overwritten. |
![]() | WriteAllTextAsync | Overloaded. Writes the given text to the file using the UTF-8 encoding. No byte order mark (BOM) is written. |
Name | Description | |
---|---|---|
![]() | OnUriChanged | Overridden. Called when the URI of this file system object has changed. |