Share via


GraphLink.Index Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.Int32

.NET Framework Security

See Also

Reference

GraphLink Class

Microsoft.VisualStudio.GraphModel Namespace