ProjectRootElement.Reload(Boolean, Nullable<Boolean>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reload the existing project root element from its file. An InvalidOperationException is thrown if the project root element is not associated with any file on disk.
public void Reload (bool throwIfUnsavedChanges = true, bool? preserveFormatting = default);
member this.Reload : bool * Nullable<bool> -> unit
Public Sub Reload (Optional throwIfUnsavedChanges As Boolean = true, Optional preserveFormatting As Nullable(Of Boolean) = Nothing)
Parameters
- throwIfUnsavedChanges
- Boolean