GraphLinkCollection Methods

 

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

NameDescription
System_CAPS_pubmethodAdd(GraphLink^)

Adds a link to the graph, or merge it with an existing Link object

System_CAPS_pubmethodAdd(GraphLink^, GraphLink^)

Adds a link to the graph, or merge it with an existing Link object

System_CAPS_pubmethodAdd(IEnumerable<GraphLink^>^)

Add all the links in the given set.

System_CAPS_pubmethodClear()

Remove all links in this collection

System_CAPS_pubmethodContains(GraphLink^)

Determines if the given link is in this collection

System_CAPS_pubmethodCopyTo(array<GraphLink^>^, Int32)

Copies the elements of the System.Collections.Generic.ICollection to an System.Array, starting at a particular System.Array index.

System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGet(GraphNode^, GraphNode^)

Gets the link with the specified source

System_CAPS_pubmethodGet(GraphNode^, GraphNode^, Int32)

Gets the link with the specified source

System_CAPS_pubmethodGet(GraphNodeId^, GraphNodeId^)

Gets the link with the specified source using GraphNodeId

System_CAPS_pubmethodGet(GraphNodeId^, GraphNodeId^, Int32)

Gets the link with the specified source and target and multi-link index

System_CAPS_pubmethodGet(String^, String^)

Gets the link with the specified source using node Id as strings

System_CAPS_pubmethodGet(String^, String^, Int32)

Gets the link with the specified source using node Id as strings and a multilink index

System_CAPS_pubmethodGetAll(GraphNode^, GraphNode^)

Gets all links between the given source and target nodes.

Each link must have a different Index.

System_CAPS_pubmethodGetByCategory(array<GraphCategory^>^)

Returns all links in the graph that contain one or more of the specified categories.

System_CAPS_pubmethodGetByProperty(GraphProperty^, Object^)

Returns all links in the graph that have the specified property value.

System_CAPS_pubmethodGetEnumerator()

Gets the typed enumerator for this collection

System_CAPS_pubmethodGetFiltered(Func<GraphLink^, Boolean>^)

Returns all nodes in the graph that match according to the given filter

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetLinksFrom(String^, array<GraphCategory^>^)

Get all links from the specified node ID that have at least one of the specified categories.

System_CAPS_pubmethodGetLinksTo(String^, array<GraphCategory^>^)

Get all links to the specified node ID have at least one of the specified categories.

System_CAPS_pubmethodGetOrCreate(GraphNode^, GraphNode^)

Gets the link from the specified source to the specified target node. If not found, a new link will be created.

System_CAPS_pubmethodGetOrCreate(GraphNode^, GraphNode^, String^, GraphCategory^)

Gets the link from the specified source to the specified target node. If not found, a new link will be created.

System_CAPS_pubmethodGetOrCreate(GraphNodeId^, GraphNodeId^)

Attempts to get the link with the specified source, target.

If not found, a new link will be created.

It also creates the source and target Node if those are not already defined (and these are created with no category).

System_CAPS_pubmethodGetOrCreate(GraphNodeId^, GraphNodeId^, Int32)

Attempts to get the link with the specified source, target and multi-link index.

If not found, a new link will be created.

It also creates the source and target Node if those are not already defined (and these are created with no category).

System_CAPS_pubmethodGetOrCreate(GraphNodeId^, GraphNodeId^, String^, GraphCategory^)

Attempts to get the link with the specified source, target.

If not found, a new link will be created.

It also adds the specified category if it is not already defined.

It also creates the source and target Node if those are not already defined (and these are created with no category).

System_CAPS_pubmethodGetOrCreate(GraphNodeId^, String^)

System_CAPS_pubmethodGetOrCreate(String^, GraphNodeId^)

System_CAPS_pubmethodGetOrCreate(String^, String^)

Attempts to get the link with the specified source, target. If not found, a new link will be created. It also creates the source and target Node if those are not already defined (and these are created with no category).

System_CAPS_pubmethodGetOrCreate(String^, String^, Int32)

Attempts to get the link with the specified source, target and multilink index If not found, a new link will be created.

System_CAPS_pubmethodGetOrCreate(String^, String^, String^, GraphCategory^)

Attempts to get the link with the specified source, target. If not found, a new link will be created. It also adds the specified category if it is not already defined. It also creates the source and target Node if those are not already defined (and these are created with no category).

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemove(GraphLink^)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

System_CAPS_pubmethodRemove(GraphLink^, GraphLink^)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

System_CAPS_pubmethodRemove(GraphNodeId^, GraphNodeId^, GraphCategory^)

Removes the given category from the link between source and target and if this is the last category, and then it removes the link also.

System_CAPS_pubmethodRemove(IEnumerable<GraphLink^>^)

Remove all the links in the given set.

System_CAPS_pubmethodRemove(String^, String^, GraphCategory^)

Removes the given category from the link between source and target and if this is the last category, and then it removes the link also.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable::GetEnumerator()

Gets the enumerator for this collection

Return to top
Show: