Click or drag to resize

IFile Interface

This interface is implemented by all code objects that can be stored as files, which includes Solution, Project, and CodeUnit.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public interface IFile

The IFile type exposes the following members.

Properties
  NameDescription
Public propertyFileEncoding
The encoding of the file (normally UTF8).
Public propertyFileExists
True if the file exists.
Public propertyFileHasUTF8BOM
True if the file has a UTF8 byte-order-mark.
Public propertyFileName
The file name.
Public propertyFileUsingTabs
True if the file is formatted using tabs, otherwise false (using spaces).
Public propertyIsNew
True if the file is newly created and hasn't been saved yet.
Top
Methods
  NameDescription
Public methodSave
Save the file.
Public methodSaveAs
Save the file to the specified file name.
Top
See Also