Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Retrieves a window associated with the component.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Private Function HwndGetWindow ( _
dwWhich As UInteger, _
dwReserved As UInteger _
) As IntPtr Implements IOleComponent.HwndGetWindow
IntPtr IOleComponent.HwndGetWindow(
uint dwWhich,
uint dwReserved
)
private:
virtual IntPtr HwndGetWindow(
unsigned int dwWhich,
unsigned int dwReserved
) sealed = IOleComponent::HwndGetWindow
private abstract HwndGetWindow :
dwWhich:uint32 *
dwReserved:uint32 -> IntPtr
private override HwndGetWindow :
dwWhich:uint32 *
dwReserved:uint32 -> IntPtr
JScript does not support explicit interface implementations.
Parameters
dwWhich
Type: System.UInt32A value from _OLECWINDOW.
dwReserved
Type: System.UInt32Reserved for future use. Should be 0.
Return Value
Type: System.IntPtr
The HWND, or nulla null reference (Nothing in Visual Basic) if no such window exists.
Implements
IOleComponent.HwndGetWindow(UInt32, UInt32)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.