Compartilhar via


ProjectRootElement.Reload(Boolean, Nullable<Boolean>) Method

Definition

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.

See ReloadFrom(XmlReader, Boolean, Nullable<Boolean>)

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
preserveFormatting
Nullable<Boolean>

Applies to