ExtractFormField.Required Property
Gets or sets a value that indicates whether the extraction rule should fail if the value to be extracted is 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: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.