[This is preliminary documentation and is subject to change.]
Saves a shortcut object to disk.
Namespace: Tools.IOtAssembly: 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
| Exception | Condition |
|---|---|
| System..::..ObjectDisposedException | The Disposed property is true |
| System.IO..::..FileNotFoundException | File FullName was not found |
| System.IO..::..IOException | Exception ocured while writing to file FullName |