Compartilhar via


Construtor WpfMenuItem (UITestControl)

Inicializa uma nova instância de WpfMenuItem classe usando o controle pai fornecido.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WpfControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
Public Sub New ( _
    parent As UITestControl _
)
public WpfMenuItem(
    UITestControl parent
)
public:
WpfMenuItem(
    UITestControl^ parent
)
new : 
        parent:UITestControl -> WpfMenuItem
public function WpfMenuItem(
    parent : UITestControl
)

Parâmetros

Segurança do .NET Framework

Consulte também

Referência

WpfMenuItem Classe

Sobrecargas WpfMenuItem

Namespace Microsoft.VisualStudio.TestTools.UITesting.WpfControls

UITestControl