ProjectContextPack Method
Pack the contents of the project file object model to a string and
return that string to the caller.
Namespace: ProjectTaskAssembly: ProjectTask (in ProjectTask.dll) Version: 25.2814.3647
public static string Pack(
ProjectContext fileObject,
Action<string> messageHandler = null
)
Public Shared Function Pack (
fileObject As ProjectContext,
Optional messageHandler As Action(Of String) = Nothing
) As String
No code example is currently available or this language may not be supported.
- fileObject ProjectContext
-
Reference to the object model to be written.
- 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);'.
String
Text version of the project file, in JSON format, if successful.
Otherwise, an empty string.