GrapeCity MultiRow Windows Forms Documentation
Save(String) Method


The complete file path to write to. The path can be a file name.
Saves the Template to the file using the specified path.
Syntax
Public Overloads Sub Save( _
   ByVal path As String _
) 
Dim instance As Template
Dim path As String
 
instance.Save(path)
public void Save( 
   string path
)

Parameters

path
The complete file path to write to. The path can be a file name.
Exceptions
ExceptionDescription
System.ArgumentNullExceptionThe path is a null reference (Nothing in Visual Basic).
System.UnauthorizedAccessException

The caller does not have the required permission.

-or-

The path specified a file that is read-only.

System.IO.IOException An I/O error occurred while creating the file.
System.NotSupportedExceptionThe path is in an invalid format.
System.ArgumentExceptionThe path is a zero length string, contains only white space, or contains one or more invalid characters as defined by System.IO.Path.InvalidPathChars.
System.IO.PathTooLongException The specified path, file name, or both exceed the system-defined maximum length. For example, on Windows-based platforms, paths must be less than 248 characters, and file names must be less than 260 characters.
System.IO.DirectoryNotFoundException The specified path is invalid (for example, it is on an unmapped drive).
Remarks
After you design a Template, you can save it to an XML file.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Template Class
Template Members
Overload List
Save(Stream) Method
Load(String) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.