다음을 통해 공유


IOleInPlaceSiteWindowless.GetCapture Method

Called by an in-place active, windowless object to determine if it still has the mouse capture or not.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

‘선언
Function GetCapture As Integer
‘사용 방법
Dim instance As IOleInPlaceSiteWindowless
Dim returnValue As Integer

returnValue = instance.GetCapture()
int GetCapture()
int GetCapture()
abstract GetCapture : unit -> int 
function GetCapture() : int

Return Value

Type: System.Int32
S_OK
The object currently has the mouse capture.
S_FALSE
The object does not currently have the mouse capture.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::GetCapture

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace