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.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.