GraphLinkCollection::Remove Method (GraphLink^, GraphLink^)

 

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

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

public:
bool Remove(
	GraphLink^ link,
	[OutAttribute] GraphLink^% resultLink
)

Parameters

link
Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The link to remove from the System.Collections.Generic.ICollection.

resultLink
Type: Microsoft.VisualStudio.GraphModel::GraphLink^

The item that was removed from the System.Collections.Generic.ICollection.

Return Value

Type: System::Boolean

true if item was successfully removed from the System.Collections.Generic.ICollection; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection.

Return to top
Show: