Delen via


GraphPathSerializationDictionary.Remove Method (String)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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

Parameters

  • key
    Type: System.String

    The item name to remove 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.

Implements

IDictionary<TKey, TValue>.Remove(TKey)

.NET Framework Security

See Also

Reference

GraphPathSerializationDictionary Class

Remove Overload

Microsoft.VisualStudio.GraphModel Namespace