WindowHelper.GetHwndFromUIElement Method

Create the specified element as a modeless child window

Namespace:  Microsoft.Internal.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

声明
Public Shared Function GetHwndFromUIElement ( _
    element As IVsUIElement, _
    parent As IntPtr _
) As IntPtr
用法
Dim element As IVsUIElement
Dim parent As IntPtr
Dim returnValue As IntPtr

returnValue = WindowHelper.GetHwndFromUIElement(element, _
    parent)
public static IntPtr GetHwndFromUIElement(
    IVsUIElement element,
    IntPtr parent
)
public:
static IntPtr GetHwndFromUIElement(
    IVsUIElement^ element, 
    IntPtr parent
)
static member GetHwndFromUIElement : 
        element:IVsUIElement * 
        parent:IntPtr -> IntPtr 
public static function GetHwndFromUIElement(
    element : IVsUIElement, 
    parent : IntPtr
) : IntPtr

Parameters

Return Value

Type: System.IntPtr

.NET Framework Security

See Also

Reference

WindowHelper Class

WindowHelper Members

Microsoft.Internal.VisualStudio.PlatformUI Namespace