다음을 통해 공유


LoadTestContext.Contains Method

Determines whether the LoadTestContext 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

  • item
    Type: KeyValuePair<String, Object>

    The object to locate in the LoadTestContext.

Return Value

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

Implements

ICollection.Contains(UTP)

.NET Framework Security

See Also

Reference

LoadTestContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace