Share via


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.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

See Also

Reference

ModelingDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace