Sdílet prostřednictvím


LoadTestContext.Remove – metoda (KeyValuePair<String, Object>)

Odebere určitý objekt z první výskyt LoadTestContext.

Obor názvů:  Microsoft.VisualStudio.TestTools.LoadTesting
Sestavení:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (v Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntaxe

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

Parametry

  • item
    Typ: KeyValuePair<String, Object>

    Odebrat z objektu LoadTestContext.

Vrácená hodnota

Typ: Boolean
true Pokud položka byla úspěšně odebrána ze LoadTestContext; jinak false.Tato metoda vrátí také false Pokud zboží nebylo nalezeno v původní LoadTestContext.

Implementuje

ICollection.Remove(UTP)

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

LoadTestContext Třída

Remove – přetížení

Microsoft.VisualStudio.TestTools.LoadTesting – obor názvů