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)

Syntax

'Declaration
Public Function Remove ( _
    link As GraphLink, _
    <OutAttribute> ByRef resultLink As GraphLink _
) As Boolean
public bool Remove(
    GraphLink link,
    out GraphLink resultLink
)
public:
bool Remove(
    GraphLink^ link, 
    [OutAttribute] GraphLink^% resultLink
)
member Remove : 
        link:GraphLink * 
        resultLink:GraphLink byref -> bool
public function Remove(
    link : GraphLink, 
    resultLink : GraphLink
) : boolean

Parameters

Return Value

Type: 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.

.NET Framework Security

See Also

Reference

GraphLinkCollection Class

Remove Overload

Microsoft.VisualStudio.GraphModel Namespace