ProjectContextWriteFile Method
Write the contents of the provided file object model to the specified
file.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static void WriteFile(
ProjectContext fileObject,
string filename,
Action<string> messageHandler = null
)
Public Shared Sub WriteFile (
fileObject As ProjectContext,
filename As String,
Optional messageHandler As Action(Of String) = Nothing
)
No code example is currently available or this language may not be supported.
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);'.