ZennoLab Assemblies Documentation
IProfile Interface
Members  Example 
Gets the current profile.
Object Model
IProfile Interface
Syntax
public interface IProfile 
Example
The following example uses property Profile of "project".
// get login
string login = project.Profile.Login;
 
// set e-mail
project.Profile.Email = "myemail.@example.com";
 
// set gender if it's not male
if (project.Profile.Sex != ProfileSex.Male) project.Profile.Sex = ProfileSex.Male;
 
// set name
project.Profile.Name = "HisName";
// get login
$login = $project->Profile->Login;
 
// set e-mail
$project->Profile->Email = "myemail.@example.com";
 
// set gender if it's not male
if ($project->Profile->Sex != ProfileSex::Male) $project->Profile->Sex = ProfileSex::Male;
 
// set name
$project->Profile->Name = "HisName";
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows Seven

See Also

Reference

IProfile Members
ZennoLab.InterfacesLibrary.ProjectModel.Collections Namespace
IZennoPosterProjectModel.Profile Property

Send Feedback