Freigeben über


AutomationPeer.GetParent Methode

Definition

Ruft den AutomationPeer ab, der das übergeordnete Element dieses AutomationPeer ist.

public:
 virtual AutomationPeer ^ GetParent() = GetParent;
/// [Windows.Foundation.Metadata.Deprecated("Consider using Navigate with AutomationNavigationDirection::Parent, which is an improved version of GetParent. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
AutomationPeer GetParent();
[Windows.Foundation.Metadata.Deprecated("Consider using Navigate with AutomationNavigationDirection::Parent, which is an improved version of GetParent. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Microsoft.UI.Xaml.WinUIContract")]
public AutomationPeer GetParent();
function getParent()
Public Function GetParent () As AutomationPeer

Gibt zurück

Der übergeordnete Automatisierungspeer.

Attribute

Gilt für: