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
item
Type: KeyValuePair<String, Object>The object to remove from the LoadTestUserContext.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.