Поделиться через


AutomationPeer.GetParent Метод

Определение

Возвращает объект AutomationPeer , который является родительским для данного объекта AutomationPeer.

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, Windows.Foundation.UniversalApiContract)]
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, "Windows.Foundation.UniversalApiContract")]
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, typeof(Windows.Foundation.UniversalApiContract))]
public 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, "Windows.Foundation.UniversalApiContract")]
public AutomationPeer GetParent();
function getParent()
Public Function GetParent () As AutomationPeer

Возвращаемое значение

Родительский одноранговый элемент автоматизации.

Атрибуты

Применяется к