GraphLinkCollection.Remove Method (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 ( _
item As GraphLink _
) As Boolean
public bool Remove(
GraphLink item
)
public:
virtual bool Remove(
GraphLink^ item
) sealed
abstract Remove :
item:GraphLink -> bool
override Remove :
item:GraphLink -> bool
public final function Remove(
item : GraphLink
) : boolean
Parameters
item
Type: Microsoft.VisualStudio.GraphModel.GraphLinkThe Link to remove from the System.Collections.Generic.ICollection.
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.
Implements
ICollection.Remove(UTP)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.