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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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: System.Boolean
true if the diagram is associated with a diagram view; otherwise, false.
.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.