Share via


UIObject.SessionId Property

Gets or sets the ID for a top-level element for the recording session.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)

Syntax

'Declaration
Public Property SessionId As String
public string SessionId { get; set; }
public:
property String^ SessionId {
    String^ get ();
    void set (String^ value);
}
member SessionId : string with get, set
function get SessionId () : String 
function set SessionId (value : String)

Property Value

Type: String
The top-level element ID.

.NET Framework Security

See Also

Reference

UIObject Class

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

TopLevelElement