CursorSwitcher Class
When this class is instantiated, it changes the mouse cursor to that specified constructor. When the instance is disposed, it changes the mouse cursor back.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Common.CursorSwitcher
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Декларация
Public Class CursorSwitcher _
Implements IDisposable
public class CursorSwitcher : IDisposable
public ref class CursorSwitcher : IDisposable
type CursorSwitcher =
class
interface IDisposable
end
public class CursorSwitcher implements IDisposable
The CursorSwitcher type exposes the following members.
Constructors
Name | Description | |
---|---|---|
CursorSwitcher | Initializes a new instance of the CursorSwitcher class. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Disposes of this instance and changes the mouse cursor back to the default cursor. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Prepares this object for disposal. (Overrides Object.Finalize().) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.