NDoc 1.3.1 SDK

Project.Write Method 

Writes an NDoc project to a disk file.

[Visual Basic]
Public Sub Write( _ 
   ByVal filename As String _ 
public void Write(
   string filename
public: void Write(
   String* filename
public function Write(
   String filename


A project is written to file in a 2 stage process;

  1. The project data is serialised to an in-memory store.
  2. If no errors occured during serialization, the data is written to disk.

This technique ensures that any fatal error during serialization will not cause a a corrupt or incomplete project file to be written to disk.

See Also

Project Class | NDoc.Core Namespace