GrapeCity MultiRow Windows Forms Documentation
Load(String) Method


The complete file path to read from. The path can be a file name.
Loads a MultiRow template from the file using the specified path.
Syntax
Public Overloads Sub Load( _
   ByVal path As String _
) 
Dim instance As Template
Dim path As String
 
instance.Load(path)
public void Load( 
   string path
)

Parameters

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

The caller does not have the required permission.

-or-

The path specified a directory.

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.DirectoryNotFoundExceptionThe specified path is invalid (for example, it is on an unmapped drive).
System.IO.FileNotFoundExceptionThe file specified in path was not found.
Remarks
You can get a Template instance from a well-defined 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
Load(Stream) Method
Save(String) Method

 

 


Copyright © GrapeCity, inc. All rights reserved.