Share via


ValidateHtmlSelectTag.ExpectedSelectedOption Property

Gets or sets the selected option.

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

Syntax

'Declaration
Public Property ExpectedSelectedOption As String
public string ExpectedSelectedOption { get; set; }
public:
property String^ ExpectedSelectedOption {
    String^ get ();
    void set (String^ value);
}
member ExpectedSelectedOption : string with get, set
function get ExpectedSelectedOption () : String 
function set ExpectedSelectedOption (value : String)

Property Value

Type: String
Selected option.

.NET Framework Security

See Also

Reference

ValidateHtmlSelectTag Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace