Share via


ModelingDocView.LoadView Method

Verifies whether the document has loaded in a document window.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

'Declaration
Protected Overridable Function LoadView As Boolean
protected virtual bool LoadView()
protected:
virtual bool LoadView()
abstract LoadView : unit -> bool 
override LoadView : unit -> bool 
protected function LoadView() : boolean

Return Value

Type: System.Boolean
true if the document loaded; otherwise, false.

Remarks

If the document did not load, the document window closes.

Derived classes should use this method to perform any initialization that requires a document to be loaded.

.NET Framework Security

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace