Atom.NET documentation

AtomEntry.Save Method (String)

Saves the AtomEntry to the specified filename.

[Visual Basic]
Overloads Public Sub Save( _
   ByVal filename As String _
public void Save(
   string filename


The file name to write to.


Exception TypeCondition
ArgumentExceptionThe encoding is not supported; the filename is empty, contains only white space, or contains one or more invalid characters.
UnauthorizedAccessExceptionAccess is denied.
ArgumentNullExceptionThe filename is a null reference.
DirectoryNotFoundExceptionThe directory to write to is not found.
IOExceptionThe filename includes an incorrect or invalid syntax for file name, directory name, or volume label syntax.
SecurityExceptionThe caller does not have the required permission.

See Also

AtomEntry Class | Atom.Core Namespace | AtomEntry.Save Overload List