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 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'Declaration
Public Overridable ReadOnly Property Nodes As LinkedElementCollection(Of NodeShape)
'Usage
Dim instance As LinkShape
Dim value As LinkedElementCollection(Of NodeShape)
value = instance.Nodes
public virtual LinkedElementCollection<NodeShape> Nodes { get; }
public:
virtual property LinkedElementCollection<NodeShape^>^ Nodes {
LinkedElementCollection<NodeShape^>^ get ();
}
public 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 How to: Access a Presentation Element from a Model Element
.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