Share via


IVsUIHierarchyWindow.SetCursor Method

This method is obsolete. Calling it has no effect.

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

Syntax

'Declaration
Function SetCursor ( _
    hNewCursor As IntPtr, _
    <OutAttribute> ByRef phOldCursor As IntPtr _
) As Integer
int SetCursor(
    IntPtr hNewCursor,
    out IntPtr phOldCursor
)
int SetCursor(
    [InAttribute] IntPtr hNewCursor, 
    [OutAttribute] IntPtr% phOldCursor
)
abstract SetCursor : 
        hNewCursor:IntPtr * 
        phOldCursor:IntPtr byref -> int
function SetCursor(
    hNewCursor : IntPtr, 
    phOldCursor : IntPtr
) : int

Parameters

Return Value

Type: System.Int32

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsUIHierarchyWindow::SetCursor(
   [in]HCURSOR hNewCursor,
   [out, retval]HCURSOR *phOldCursor
);

.NET Framework Security

See Also

Reference

IVsUIHierarchyWindow Interface

Microsoft.VisualStudio.Shell.Interop Namespace