Share via


IWindowHelper.SetAdminConsoleWindowAsParentOf Method (Window)

 

Applies To: System Center 2016 - Virtual Machine Manager

This method can be called to set the parent of a window to the Virtual Machine Manager console window.

Namespace:   Microsoft.SystemCenter.VirtualMachineManager.UIAddIns
Assembly:  Microsoft.SystemCenter.VirtualMachineManager.UIAddIns (in Microsoft.SystemCenter.VirtualMachineManager.UIAddIns.dll)

Syntax

void SetAdminConsoleWindowAsParentOf(
    Window childWindow
)
void SetAdminConsoleWindowAsParentOf(
    Window^ childWindow
)
abstract SetAdminConsoleWindowAsParentOf : 
        childWindow:Window -> unit
Sub SetAdminConsoleWindowAsParentOf (
    childWindow As Window
)

Parameters

Remarks

This method is called by your add-in code after you create a window and want the parent-child relationship of that window to be established between itself and the Virtual Machine Manager console. This would ensure that the window you have shown is displayed in front of the Virtual Machine Manager console.

See Also

IWindowHelper Interface
Microsoft.SystemCenter.VirtualMachineManager.UIAddIns Namespace

Return to top