ModelingDocView.LoadView Method
Verifies whether the document has loaded in a document window.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected Overridable Function LoadView As Boolean
'Usage
Dim returnValue As Boolean
returnValue = Me.LoadView()
protected virtual bool LoadView()
protected:
virtual bool LoadView()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.