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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
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.