Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Called to retrieve a window associated with the component, as specified by dwWhich which maps to a value in WindowType. Simply calls through to HwndGetWindowCore.
Namespace: Microsoft.VisualStudio.PlatformUI.OleComponentSupport
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Private Function HwndGetWindow ( _
dwWhich As UInteger, _
dwReserved As UInteger _
) As IntPtr Implements IOleComponent.HwndGetWindow
'Usage
Dim instance As OleComponent
Dim dwWhich As UInteger
Dim dwReserved As UInteger
Dim returnValue As IntPtr
returnValue = CType(instance, IOleComponent).HwndGetWindow(dwWhich, _
dwReserved)
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.UInt32
The type of window to retrieve, maps directly to a value in WindowType.
- dwReserved
Type: System.UInt32
Reserved for future use and should be zero
Return Value
Type: System.IntPtr
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.
See Also
Reference
Microsoft.VisualStudio.PlatformUI.OleComponentSupport Namespace