Share via


Diagram.HasAssociatedViews Property

Gets the diagram and verifies whether it is associated with a diagram view.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
Public ReadOnly Property HasAssociatedViews As Boolean
public bool HasAssociatedViews { get; }
public:
property bool HasAssociatedViews {
    bool get ();
}
member HasAssociatedViews : bool with get
function get HasAssociatedViews () : boolean

Property Value

Type: Boolean
true if the diagram is associated with a diagram view; otherwise, false.

.NET Framework Security

See Also

Reference

Diagram Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace