Close method

Closes the cursor.

 Visual Basic syntax
 C# syntax
 Exceptions
 Remarks