UITestControl.Container Property
Gets or sets the container of this UITestControl.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overridable Property Container As UITestControl
public virtual UITestControl Container { get; set; }
public:
virtual property UITestControl^ Container {
UITestControl^ get ();
void set (UITestControl^ value);
}
abstract Container : UITestControl with get, set
override Container : UITestControl with get, set
function get Container () : UITestControl
function set Container (value : UITestControl)
Property Value
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
The container of this UITestControl.
Remarks
The Container is not necessarily the immediate parent, but the Container can be any ancestor in the UI test control hierarchy.
.NET Framework Security
- 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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting Namespace
Container