Compartir a través de


Win32.GetParentWindow Method

Gets the parent window.

Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.dll)

Usage

'Usage
Dim child As DependencyObject
Dim returnValue As Window

returnValue = Win32.GetParentWindow(child)

Syntax

'Declaration
Public Shared Function GetParentWindow ( _
    child As DependencyObject _
) As Window
public static Window GetParentWindow (
    DependencyObject child
)
public:
static Window^ GetParentWindow (
    DependencyObject^ child
)
public static Window GetParentWindow (
    DependencyObject child
)
public static function GetParentWindow (
    child : DependencyObject
) : Window

Parameters

  • child

Return Value

Type: Window.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

See Also

Reference

Win32 Class
Win32 Members
Microsoft.Crm.UnifiedServiceDesk.Dynamics.Utilities Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.