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
- hNewCursor
Type: System.IntPtr
- phOldCursor
Type: System.IntPtr%
Return Value
Type: System.Int32
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsUIHierarchyWindow::SetCursor(
[in]HCURSOR hNewCursor,
[out, retval]HCURSOR *phOldCursor
);
.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.