Share via


GraphPathSerializationDictionary.Remove Method (KeyValuePair<String, String>)

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 KeyValuePair(Of String, String) _
) As Boolean
public bool Remove(
    KeyValuePair<string, string> item
)
public:
virtual bool Remove(
    KeyValuePair<String^, String^> item
) sealed
abstract Remove : 
        item:KeyValuePair<string, string> -> bool  
override Remove : 
        item:KeyValuePair<string, string> -> bool
public final function Remove(
    item : KeyValuePair<String, String>
) : boolean

Parameters

  • item
    Type: KeyValuePair<String, String>

    The object 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

See Also

Reference

GraphPathSerializationDictionary Class

Remove Overload

Microsoft.VisualStudio.GraphModel Namespace