Displays the enhanced DataTip.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'宣言
Function Show ( _
hwndOwner As IntPtr, _
pptTopLeft As POINT(), _
pHotRect As RECT() _
) As Integer
'使用
Dim instance As IVsEnhancedDataTip
Dim hwndOwner As IntPtr
Dim pptTopLeft As POINT()
Dim pHotRect As RECT()
Dim returnValue As Integer
returnValue = instance.Show(hwndOwner, _
pptTopLeft, pHotRect)
int Show(
IntPtr hwndOwner,
POINT[] pptTopLeft,
RECT[] pHotRect
)
int Show(
[InAttribute] IntPtr hwndOwner,
[InAttribute] array<POINT>^ pptTopLeft,
[InAttribute] array<RECT>^ pHotRect
)
function Show(
hwndOwner : IntPtr,
pptTopLeft : POINT[],
pHotRect : RECT[]
) : int
Parameters
hwndOwner
Type: System.IntPtr[in] The handle of the Window (HWND) in which to display the DataTip.
pptTopLeft
Type: [][in] Pointer to a POINT structure indicating the location of the top left corner of the DataTip.
pHotRect
Type: [][in] Pointer to a RECT structure marking the hot area of the DataTip—the area where a mouse-click will be responded to.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsEnhancedDataTip::Show(
[in] HWND hwndOwner,
[in] POINT* pptTopLeft,
[in] RECT* pHotRect
);
Permissions
- 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.