| ZennoLab.InterfacesLibrary Assembly > ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace > IProfile Interface : FromString Method |
Type: System.String
A string that represents the profile data.
Type: System.String
A string that represents the profile data.
// load profile data from file C:\profile.txt string data = System.IO.File.ReadAllText("C:\\profile.txt", Encoding.UTF8); // set the profile data project.Profile.FromString(data);
// load profile data from file C:\profile.txt $data = System\IO\File::ReadAllText("C:\\profile.txt", System\Text\Encoding::UTF8); // set the profile data $project->Profile->FromString($data);
Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.