DocumentReference.GetDocument(Boolean) Method
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
- forceReload
- Boolean
true
to force a new load of the Source document, even if it was previously loaded.
The document that was loaded.
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.
Produit | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :