ZennoLab Assemblies Documentation
ToString Method (IProfile)
Example 
Returns a string that represents the current profile.
Syntax
string ToString()

Return Value

Type: System.String

A string that represents the current profile.

Remarks
You should remember that all ZennoPoster's structures, actions and methods uses the utf-8 encoding.
Example
The following example uses ToString method of profile. This example gets the representation of the profile as string and saves it to the file with path: C:\profile.txt.
// get the in the string format
string profileAsString = project.Profile.ToString();
// save it to file D:\profile.txt
System.IO.File.WriteAllText("C:\\profile.txt", profileAsString, Encoding.UTF8);
// get the in the string format
$profileAsString = $project->Profile->ToString();
// save it to file D:\profile.txt
System\IO\File::WriteAllText("C:\\profile.txt", $profileAsString, System\Text\Encoding::UTF8);
Requirements

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

See Also

Reference

IProfile Interface
IProfile Members
FromString Method

Send Feedback