LinkShape.Nodes Property
Gets a list of shapes that are connected to the link shape.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Overridable ReadOnly Property Nodes As LinkedElementCollection(Of NodeShape)
Get
public virtual LinkedElementCollection<NodeShape> Nodes { get; }
public:
virtual property LinkedElementCollection<NodeShape^>^ Nodes {
LinkedElementCollection<NodeShape^>^ get ();
}
abstract Nodes : LinkedElementCollection<NodeShape>
override Nodes : LinkedElementCollection<NodeShape>
function get Nodes () : LinkedElementCollection<NodeShape>
Property Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<NodeShape>
A list of shapes that are connected to the link shape.
Remarks
Although it is possible to navigate around a diagram by following the connections between NodeShapes and LinkShapes, we do not recommend that method unless you are adjusting their graphical properties. Usually, you would use ModelElement to get to the model element and then navigate the domain elements and relationships. For more information, see [redirect] How to: Navigate and Update a Diagram
.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.
See Also
Reference
Microsoft.VisualStudio.Modeling.Diagrams Namespace