DocumentReference.GetDocument(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.
Synchronously loads and parses the document specified by the Source property location.
public:
System::Windows::Documents::FixedDocument ^ GetDocument(bool forceReload);
public System.Windows.Documents.FixedDocument GetDocument (bool forceReload);
member this.GetDocument : bool -> System.Windows.Documents.FixedDocument
Public Function GetDocument (forceReload As Boolean) As FixedDocument
Parameters
- forceReload
- Boolean
true
to force a new load of the Source document, even if it was previously loaded.
Returns
The document that was loaded.
Remarks
If the document has not been loaded previously, GetDocument will load the document regardless if the forceReload
parameter is true
or false
.
If the document was loaded previously and forceReload
is specified as false
, the document is not reloaded and the previously loaded document is returned.
If forceReload
is specified true
, then the entire document will be reloaded and reparsed, even if it had already been retrieved previously.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour