ZennoLab Assemblies Documentation
Load Method (IProfile)
Example 
ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IProfile Interface : Load Method

Type: System.String

A path to file that contains the profile data.

Type: System.Boolean

The true if need create missing variables.

Load the profile data from specified file.
Syntax

Parameters

path

Type: System.String

A path to file that contains the profile data.

createVariables

Type: System.Boolean

The true if need create missing variables.

Remarks
You should remember that all ZennoPoster's structures, actions and methods uses the utf-8 encoding.
Example
The following example uses Load method of profile.
// load profile data from file C:\profile.zpprofile and create missing variables if they are in the file.
project.Profile.Load("C:\\profile.zpprofile", true);
// load profile data from file C:\profile.zpprofile
$project->Profile->Load("C:\\profile.zpprofile");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

IProfile Interface
IProfile Members
Save Method