ModelingDocView.OnCreate Method
When the document is loaded, creates a view for the 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 Overrides Sub OnCreate
protected override void OnCreate()
protected:
virtual void OnCreate() override
abstract OnCreate : unit -> unit
override OnCreate : unit -> unit
protected override function OnCreate()
Remarks
If the document is not loaded, the view is not created.
.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.