Partager via


ExtractHiddenFields.Required Property

Gets or sets a value that indicates whether the extraction rule should fail if the values to be extracted are not found in the response.

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

Syntax

'Declaration
Public Property Required As Boolean
public bool Required { get; set; }
public:
property bool Required {
    bool get ();
    void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean 
function set Required (value : boolean)

Property Value

Type: Boolean
true if the extraction rule should fail because the value to be extracted is not found in the response; otherwise false.

.NET Framework Security

See Also

Reference

ExtractHiddenFields Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace