다음을 통해 공유


LoadTestUserContext.ContainsKey Method

Indicates whether the LoadTestUserContext contains an element that has the specified key.

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

Syntax

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

Parameters

Return Value

Type: Boolean
true if the LoadTestUserContext contains an element that has the key; otherwise, false.

Implements

IDictionary.ContainsKey(UTP)

.NET Framework Security

See Also

Reference

LoadTestUserContext Class

Microsoft.VisualStudio.TestTools.LoadTesting Namespace