다음을 통해 공유


UITestControl.PropertyNames Class

Represents the names of the common properties in all UITestControl objects.

Inheritance Hierarchy

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.DirectUIControls.DirectUIControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl.PropertyNames
    Microsoft.VisualStudio.TestTools.UITesting.WindowsRuntimeControls.XamlControl.PropertyNames

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
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
<CLSCompliantAttribute(True)> _
Public MustInherit Class PropertyNames
[CLSCompliantAttribute(true)]
public abstract class PropertyNames
[CLSCompliantAttribute(true)]
public ref class PropertyNames abstract
[<AbstractClass>]
[<CLSCompliantAttribute(true)>]
type PropertyNames =  class end
public abstract class PropertyNames

The UITestControl.PropertyNames type exposes the following members.

Constructors

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

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the provided object is equal to the current instance. (Overrides Object.Equals(Object).)
Public methodStatic member Equals(Object, Object) Determines whether the provided objects are equal.
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 the default hash function. (Overrides Object.GetHashCode.)
Public method GetType Returns the Type of the control.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic member ReferenceEquals Determines whether the two provided object references refer to the same instance.
Public method ToString Returns a string representation of this instance. (Overrides Object.ToString.)

Top

Fields

  Name Description
Public fieldStatic member BoundingRectangle Returns "BoundingRectangle".
Public fieldStatic member ClassName Returns "ClassName".
Public fieldStatic member ControlType Returns "ControlType".
Public fieldStatic member Enabled Returns "Enabled".
Public fieldStatic member Exists Returns "Exists".
Public fieldStatic member FriendlyName Returns "FriendlyName".
Public fieldStatic member HasFocus Returns "HasFocus".
Public fieldStatic member Height Gets the height of the control. Data type: System.Int32
Public fieldStatic member Instance Returns "Instance".
Public fieldStatic member IsTopParent Returns "IsTopParent".
Public fieldStatic member Left Gets the x-coordinate of the left edge of the control. Data type: System.Int32
Public fieldStatic member MaxDepth Returns "MaxDepth".
Public fieldStatic member Name Returns "Name".
Public fieldStatic member NativeElement Returns "NativeElement".
Public fieldStatic member QueryId Returns "QueryId".
Public fieldStatic member State Gets the state of the control. Data type: ControlStates
Public fieldStatic member TechnologyName Returns "TechnologyName".
Public fieldStatic member Top Gets the x-coordinate of the top edge of the control. Data type: System.Int32
Public fieldStatic member TopParent Returns "TopParent".
Public fieldStatic member UITechnologyElement Returns "UITechnologyElement".
Public fieldStatic member Width Gets the width of the control. Data type: System.Int32
Public fieldStatic member WindowHandle Returns "WindowHandle".

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 Namespace

UITestControl