LoadOptions.ProjectLoadingCallback

LoadOptions.ProjectLoadingCallback property

Gets or sets the callback to be invoked during project loading operations. Currently supported for MPP and XER formats.

public IProgressNotificationCallback ProjectLoadingCallback { get; set; }

Examples

Shows how to use progress notification callback when loading a project.

var loadOptions = new LoadOptions
{
    // Set the callback to receive progress updates
    ProjectLoadingCallback = new ProgressNotificationCallbackImplementation()
};

// Load the project with progress notification
var project = new Project(DataDir + "Project.mpp", loadOptions);

Console.WriteLine("Project loaded successfully.");

See Also