Share via


UITechnologyElementProxy.CacheProperties Method

Caches all the common properties of this element for future use so that these properties can be used later even when the underlining UI control no longer exists.

This typically includes properties like Name, ClassName, ControlType, QueryId and other properties used in identification string.

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

Syntax

'Declaration
Public Overrides Sub CacheProperties
public override void CacheProperties()
public:
virtual void CacheProperties() override
abstract CacheProperties : unit -> unit  
override CacheProperties : unit -> unit
public override function CacheProperties()

.NET Framework Security

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace