Freigeben über


GraphPathSerializationDictionary.Remove-Methode (KeyValuePair<String, String>)

Entfernt das erste Vorkommen eines bestimmten Objekts aus 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

Parameter

  • item
    Typ: KeyValuePair<String, String>

    Das aus System.Collections.Generic.ICollection zu entfernende Objekt.

Rückgabewert

Typ: Boolean
"True", wenn das Element erfolgreich aus System.Collections.Generic.ICollection entfernt wurde. Andernfalls "false".Diese Methode gibt auch FALSE zurück, wenn das Element nicht in der ursprünglichen System.Collections.Generic.ICollection gefunden wird.

Implementiert

ICollection.Remove(UTP)

.NET Framework-Sicherheit

Siehe auch

Referenz

GraphPathSerializationDictionary Klasse

Remove-Überladung

Microsoft.VisualStudio.GraphModel-Namespace