[This is preliminary documentation and is subject to change.]

Saves a shortcut object to disk.

Namespace: Tools.IOt
Assembly: Tools.Win (in Tools.Win.dll) Version: 1.5.3.38916 (1.5.3.38916)

Syntax

C#
public void Save()
Visual Basic
Public Sub Save
Visual C++
public:
void Save()
F#
member Save : unit -> unit 
JScript
public function Save()

Remarks

You must use this method to confir changes made to shortcut. The Save method uses the information in the shortcut object's FullName property to determine where to save the shortcut object on a disk. You can only create shortcuts to system objects. This includes files, directories, and drives (but does not include printer links or scheduled tasks).

Exceptions

ExceptionCondition
System..::..ObjectDisposedExceptionThe Disposed property is true
System.IO..::..FileNotFoundExceptionFile FullName was not found
System.IO..::..IOExceptionException ocured while writing to file FullName

See Also