Partager via


HtmlComboBox.ItemCount Property

Gets the number of items in this combo box.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies:   Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property ItemCount As Integer
public virtual int ItemCount { get; }
public:
virtual property int ItemCount {
    int get ();
}
abstract ItemCount : int with get 
override ItemCount : int with get
function get ItemCount () : int

Property Value

Type: Int32
The number of items in this combo box.

.NET Framework Security

See Also

Reference

HtmlComboBox Class

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace