Share via


GraphLink.Index Property

Gets the optional Index of this link. Default is zero. This index can be specified when you create a link. Providing different index values makes it possible to create multiple links between the same source and target nodes.

To get multilinks, the index only must be unique for the same source and target nodes.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public ReadOnly Property Index As Integer
public int Index { get; }
public:
property int Index {
    int get ();
}
member Index : int with get
function get Index () : int

Property Value

Type: Int32

.NET Framework Security

See Also

Reference

GraphLink Class

Microsoft.VisualStudio.GraphModel Namespace