Partager via


LoadTestUserContext.Remove Method (String)

Returns a value that indicates whether the first occurrence of a specific object must be moved from the LoadTestUserContext object.

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

Syntax

'Declaration
Public Function Remove ( _
    key As String _
) As Boolean
public bool Remove(
    string key
)
public:
virtual bool Remove(
    String^ key
) sealed
abstract Remove : 
        key:string -> bool  
override Remove : 
        key:string -> bool
public final function Remove(
    key : String
) : boolean

Parameters

  • key
    Type: String

    The unique identifier to use as the key of the element to remove.

Return Value

Type: Boolean
true if the first occurrence of the specified object must be removed; otherwise, false.

Implements

IDictionary.Remove(UTP)

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

Remove Overload

Microsoft.VisualStudio.TestTools.LoadTesting Namespace