Udostępnij za pośrednictwem


ModelingDocView.IsPrimaryView Property

Definition

True if this is the primary view of the designer. The "primary view" owns the artifact document locks that are created by the VSHost during sync'ing. If an artifact is opened in an incompatible editor (e.g. the binary editor), the primary view is closed. This should shut down all other views.

protected:
 virtual property bool IsPrimaryView { bool get(); };
protected virtual bool IsPrimaryView { get; }
member this.IsPrimaryView : bool
Protected Overridable ReadOnly Property IsPrimaryView As Boolean

Property Value

Applies to