Cursor Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the Cursor class from the specified .ani or a .cur file.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- cursorFile
-
Type:
System::String^
The file that contains the cursor.
| Exception | Condition |
|---|---|
| ArgumentNullException | cursorFile is null. |
| ArgumentException | cursorFile is not an .ani or .cur file name. |
.NET Framework
Available since 3.0
Available since 3.0
Show: