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 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'Declaration
Protected Overrides Sub OnCreate
'Usage
Me.OnCreate()
protected override void OnCreate()
protected:
virtual void OnCreate() override
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.