ProjectContextWriteFile Method

Write the contents of the provided file object model to the specified file.

Definition

Namespace: ProjectTask
Assembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
C#
public static void WriteFile(
	ProjectContext fileObject,
	string filename,
	Action<string> messageHandler = null
)

Parameters

fileObject  ProjectContext
Reference to the object model version of the file to be written.
filename  String
Fully qualified path and filename of the file to write.
messageHandler  ActionString  (Optional)
Optional reference to a message handler delegate appointed to receive messages from this function, in the form of 'static void CallbackName(string message);'.

See Also