The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
TopLevelElement Class
Represents a top level element in the UIMap, typically a window.
System::Object
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObject
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::TopLevelElement
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::UIObject
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap::TopLevelElement
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
The TopLevelElement type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Condition | Gets or sets the condition of this object. (Inherited from UIObject.) |
![]() | ControlType | Gets or sets the control type of this object. (Inherited from UIObject.) |
![]() | Descendants | Gets a collection of all UI objects that are contained within this UI object. (Inherited from UIObject.) |
![]() | FriendlyName | Gets or sets a friendly name for this object. (Inherited from UIObject.) |
![]() | Id | Gets the ID for this object. (Inherited from UIObject.) |
![]() | Item | Gets the specified UI child object in this object that has the given UI object ID. (Inherited from UIObject.) |
![]() | Name | Gets or sets the name of the object. (Inherited from UIObject.) |
![]() | QueryId | Gets or sets the query ID for this object. (Inherited from UIObject.) |
![]() | SearchConfigurations | Gets or sets a string array of search configuration. (Inherited from UIObject.) |
![]() | SessionId | Gets or sets the ID for a top-level element for the recording session. (Inherited from UIObject.) |
![]() | SpecialControlType | Gets or sets the special type for this UI object. (Inherited from UIObject.) |
![]() | SupportLevel | Gets or sets the level at which the current technology supports this UI object. (Inherited from UIObject.) |
![]() | SupportLevelWrapper | Gets or sets a string version of the actual level at which the current technology supports this UI object for serialization and deserialization of the SupportLevel property. (Inherited from UIObject.) |
![]() | TechnologyName | Gets or sets the name of the technology that supports this UI object. (Inherited from UIObject.) |
![]() | WindowTitles | Gets a collection of the titles of the top-level windows. (Inherited from UIObject.) |
| Name | Description | |
|---|---|---|
![]() | 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.) |
![]() | BindParameters | Binds properties of this UI object to those in the given value map. (Inherited from UIObject.) |
![]() | Clone | Returns a cloned copy of this top level element. (Overrides UIObject::Clone().) |
![]() | 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.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetQueryString() | Returns the query ID for this top level element. (Overrides UIObject::GetQueryString().) |
![]() | GetQueryString(String) | Returns the query ID of the contained UI object that is specified by the given partial ID. (Inherited from UIObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetUIObjectFromId | Returns a contained UI object that is based on the provided ID. (Inherited from UIObject.) |
![]() | GetUIObjectFromPartialUIObjectId | Returns a UI object that is contained in this UI object by using the provided partial ID. (Inherited from UIObject.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ParameterizeProperty | Parameterizes the given property by using the given parameter name. (Inherited from UIObject.) |
![]() | Remove(String) | Removes the specified UI object from the descendent objects in this UI object. (Inherited from UIObject.) |
![]() | Remove(UIObject) | Removes the provided UI object from the descendent objects in this UI object. (Inherited from UIObject.) |
![]() | ToString | Returns the query ID of this UI object. (Inherited from UIObject.) |
Show:
