Share via


LoadTestUserContext.Remove Method (KeyValuePair<String, Object>)

Removes the first occurrence of a specific object from the LoadTestUserContext.

Namespace:  Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

Syntax

'Declaration
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

Parameters

Return Value

Type: Boolean
true if the item was successfully removed from the LoadTestUserContext; otherwise, false. This method also returns false if the item is not found in the original LoadTestUserContext.

Implements

ICollection.Remove(UTP)

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

Remove Overload

Microsoft.VisualStudio.TestTools.LoadTesting Namespace