Udostępnij za pośrednictwem


Metoda WindowHelper.CreateChildElement — (Guid, UInt32, IVsUISimpleDataSource, IntPtr)

Tworzy i wyświetla element interfejsu użytkownika jako okno niemodalne dziecka.

Przestrzeń nazw:  Microsoft.Internal.VisualStudio.PlatformUI
Zestaw:  Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)

Składnia

'Deklaracja
Public Shared Function CreateChildElement ( _
    factory As Guid, _
    elementId As UInteger, _
    dataSource As IVsUISimpleDataSource, _
    parent As IntPtr _
) As IntPtr
public static IntPtr CreateChildElement(
    Guid factory,
    uint elementId,
    IVsUISimpleDataSource dataSource,
    IntPtr parent
)

Parametry

  • factory
    Typ: System.Guid
    Identyfikator GUID factory interfejsu użytkownika, który należy utworzyć element interfejsu użytkownika.
  • elementId
    Typ: System.UInt32
    Identyfikator element interfejsu użytkownika może być utworzone i wyświetlane.

Wartość zwracana

Typ: System.IntPtr
Uchwyt okna podrzędnego.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

WindowHelper Klasa

Przeciążenie CreateChildElement

Przestrzeń nazw Microsoft.Internal.VisualStudio.PlatformUI