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
'宣告
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
- 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.