Dela via


WebTestRequestHeaderCollection.Contains Method (String)

Returns a value that indicates whether a WebTestRequestHeader occurs in this collection.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Function Contains ( _
    headerName As String _
) As Boolean
public bool Contains(
    string headerName
)
public:
bool Contains(
    String^ headerName
)
member Contains : 
        headerName:string -> bool 
public function Contains(
    headerName : String
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the WebTestRequestHeader occurs in this collection; otherwise, false.

.NET Framework Security

See Also

Reference

WebTestRequestHeaderCollection Class

Contains Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace