TopLevelElement Methods

Include Protected Members
Include Inherited Members

The TopLevelElement type exposes the following members.

Methods

  Name Description
Public method Add Adds the given UI object to the descendents of this UI object, if the given UI object does not already exist. (Inherited from UIObject.)
Public method BindParameters Binds properties of this UI object to those in the given value map. (Inherited from UIObject.)
Public method Clone Returns a cloned copy of this top level element. (Overrides UIObject.Clone().)
Public method Contains Indicates whether the UI object that is identified by the provided ID is contained among the descendents of this UI object. (Inherited from UIObject.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
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 Object.)
Public method GetQueryString() Returns the query ID for this top level element. (Overrides UIObject.GetQueryString().)
Public method GetQueryString(String) Returns the query ID of the contained UI object that is specified by the given partial ID. (Inherited from UIObject.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUIObjectFromId Returns a contained UI object that is based on the provided ID. (Inherited from UIObject.)
Public method GetUIObjectFromPartialUIObjectId Returns a UI object that is contained in this UI object by using the provided partial ID. (Inherited from UIObject.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ParameterizeProperty Parameterizes the given property by using the given parameter name. (Inherited from UIObject.)
Public method Remove(String) Removes the specified UI object from the descendent objects in this UI object. (Inherited from UIObject.)
Public method Remove(UIObject) Removes the provided UI object from the descendent objects in this UI object. (Inherited from UIObject.)
Public method ToString Returns the query ID of this UI object. (Inherited from UIObject.)

Top

See Also

Reference

TopLevelElement Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace