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. |
![]() | NameWithoutExtension | Gets the name of this file without the extension. |
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. |
![]() | GetLengthAsync | Gets the size of the file in bytes. |
![]() | 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. |
![]() | 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. |