Metodo IOleComponent.HwndGetWindow

Ottiene una finestra associata al componente.

Spazio dei nomi:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Sintassi

'Dichiarazione
Function HwndGetWindow ( _
    dwWhich As UInteger, _
    dwReserved As UInteger _
) As IntPtr
IntPtr HwndGetWindow(
    uint dwWhich,
    uint dwReserved
)

Parametri

  • dwReserved
    Tipo: System.UInt32
    Riservato per un utilizzo futuro.Deve essere 0.

Valore restituito

Tipo: System.IntPtr
HWND, o nullriferimento null (Nothing in Visual Basic) se tale finestra esistente.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

IOleComponent Interfaccia

Spazio dei nomi Microsoft.VisualStudio.OLE.Interop