LoadOptions

LoadOptions class

Allows to specify additional load parameters when loading a project from file or stream.

Constructors

NameDescription
LoadOptionsInitializes a new instance of the LoadOptions class.

Methods

NameDescription
get_EncodingGets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8.
get_ErrorHandlerGets a callback method to handle xml parse errors.
get_PasswordGets a protection password.
get_PrimaveraReadOptionsGets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml).
set_EncodingSets encoding which is used to read a project from HTML, MPX, XER and Primavera XML formats. The default encoding is UTF8.
set_ErrorHandlerSets a callback method to handle xml parse errors.
set_PasswordSets a protection password.
set_PrimaveraReadOptionsSets a specified instance of the Tasks::PrimaveraReadOptions class which can be used to customize the behavior of loading Primavera formats (Primavera P6 XER or Primavera P6 Xml).