NevronOpenVision
Nevron.Nov.IO Namespace / NFile Class
Properties Methods


In This Topic
    NFile Class Members
    In This Topic

    The following tables list the members exposed by NFile.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public PropertyGets 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.  
    Public PropertyGets the name of this file without the extension.  
    Top
    Public Methods
     NameDescription
    Public MethodCopies this file to the specified destination.  
    Public MethodCreates a file for both reading and writing. If the file already exists it is overwritten.  
    Public MethodOverridden. Creates an identical copy of this object.  
    Public MethodGets the size of the file in bytes.  
    Public MethodMoves this file to the specified destination  
    Public MethodOpens an existing file or creates a new file for both reading and writing.  
    Public MethodOpens the file for reading.  
    Public MethodOpens an existing file or creates a new file for writing.  
    Public MethodOpens the file for reading, reads it and returns its byte content.  
    Public MethodOverloaded. Opens the file for reading, and reads the contents of this file as a string using UTF-8 text encoding.  
    Public MethodReads the given number of bytes from this file or the whole file if it is smaller than the given number of bytes.  
    Public MethodWrites the given byte array to the file. If the file exists, it is overwritten.  
    Public MethodOverloaded. Writes the given text to the file using the UTF-8 encoding. No byte order mark (BOM) is written.  
    Top
    Protected Methods
     NameDescription
    Protected MethodOverridden. Called when the URI of this file system object has changed.  
    Top
    See Also