Bagikan melalui


HtmlControl.PropertyNames Class

Contains a field for each property of the HtmlControl user interface (UI) testing control where each field is named for, and returns, the name of the corresponding property.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
      More...

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

Syntax

'Declaration
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames _
    Inherits UITestControl.PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames : UITestControl.PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract : public UITestControl::PropertyNames
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames =  
    class 
        inherit UITestControl.PropertyNames 
    end
public abstract class PropertyNames extends UITestControl.PropertyNames

The HtmlControl.PropertyNames type exposes the following members.

Constructors

  Name Description
Protected method HtmlControl.PropertyNames Initializes a new instance of the HtmlControl.PropertyNames class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Inherited from UITestControl.PropertyNames.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from UITestControl.PropertyNames.)
Public method GetType Returns the Type of the control. (Inherited from UITestControl.PropertyNames.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string representation of this instance. (Inherited from UITestControl.PropertyNames.)

Top

Fields

  Name Description
Public fieldStatic member AccessKey Returns "AccessKey".
Public fieldStatic member Class Returns "Class".
Public fieldStatic member ControlDefinition Returns "ControlDefinition".
Public fieldStatic member HelpText Returns "HelpText".
Public fieldStatic member Id Returns "Id".
Public fieldStatic member InnerText Returns "InnerText".
Public fieldStatic member TagInstance Returns "TagInstance".
Public fieldStatic member TagName Returns "TagName".
Public fieldStatic member Title Returns "Title".
Public fieldStatic member Type Returns "Type".
Public fieldStatic member ValueAttribute Returns "ValueAttribute".

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace

HtmlControl

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlAreaHyperlink.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlButton.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCheckBox.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlComboBox.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlDiv.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlDocument.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlEdit.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlEditableDiv.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlEditableSpan.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlFileInput.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlFrame.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlHeaderCell.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlHyperlink.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlIFrame.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlImage.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlInputButton.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlLabel.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlList.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlListItem.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlMedia.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlProgressBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlRadioButton.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlRow.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlScrollBar.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlSlider.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlSpan.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlTable.PropertyNames
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlTextArea.PropertyNames