Share via


ValidateFormField.Name Property

Gets or sets the name of the field whose value is to be validated.

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

Syntax

'Declaration
Public Property Name As String
'Usage
Dim instance As ValidateFormField 
Dim value As String 

value = instance.Name

instance.Name = value
public string Name { get; set; }
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
public function get Name () : String 
public function set Name (value : String)

Property Value

Type: System.String
The name of the field to be validated.

.NET Framework Security

See Also

Reference

ValidateFormField Class

ValidateFormField Members

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace