Metodo WebTestContext.Remove (KeyValuePair<String, Object>)

Rimuove un oggetto KeyValuePair<TKey, TValue> da WebTestContext.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Sintassi

'Dichiarazione
Public Function Remove ( _
    keyValuePair As KeyValuePair(Of String, Object) _
) As Boolean
public bool Remove(
    KeyValuePair<string, Object> keyValuePair
)
public:
virtual bool Remove(
    KeyValuePair<String^, Object^> keyValuePair
) sealed
abstract Remove : 
        keyValuePair:KeyValuePair<string, Object> -> bool 
override Remove : 
        keyValuePair:KeyValuePair<string, Object> -> bool 
public final function Remove(
    keyValuePair : KeyValuePair<String, Object>
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se l'elemento correttamente viene rimosso, in caso contrario, false.Anche questo restituisce false se la chiave non viene trovata.

Implementa

ICollection<T>.Remove(T)

Note

Non viene effettuata alcuna modifica alla raccolta sottostante se la chiave da rimuovere non viene trovata.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

WebTestContext Classe

Overload Remove

Spazio dei nomi Microsoft.VisualStudio.TestTools.WebTesting