Partager via


LoadTestUserContext.Contains Method

Determines whether the LoadTestUserContext contains a specific value.

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

Syntax

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

Parameters

Return Value

Type: Boolean
true if the item is found in the LoadTestUserContext; otherwise, false.

Implements

ICollection.Contains(UTP)

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace