BuiltInProjectProperty Class |
Namespace: Aspose.Tasks.Properties
The BuiltInProjectProperty type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Name |
Gets a name of the property.
(Inherited from Property.) |
![]() ![]() | Value |
Gets or sets the value of the property.
|
Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() ![]() | ToString |
Returns the property value as string.
(Inherited from Property.) |
var project = new Project(DataDir + "ReadProjectInfo.mpp"); Console.WriteLine("Author: " + project.BuiltInProps.Author); Console.WriteLine("Category: " + project.BuiltInProps.Category); Console.WriteLine("Comments: " + project.BuiltInProps.Comments); Console.WriteLine("Company: " + project.BuiltInProps.Company); Console.WriteLine("HyperlinkBase: " + project.BuiltInProps.HyperlinkBase); Console.WriteLine("IsReadOnly: " + project.BuiltInProps.IsReadOnly); Console.WriteLine("Keywords: " + project.BuiltInProps.Keywords); Console.WriteLine("Manager: " + project.BuiltInProps.Manager); Console.WriteLine("Subject: " + project.BuiltInProps.Subject); Console.WriteLine("Title: " + project.BuiltInProps.Title); Console.WriteLine(); // iterate over built-in property collection foreach (Property property in project.BuiltInProps) { Console.WriteLine("Name: " + property.Name); Console.WriteLine("Value: " + property.Value); Console.WriteLine("Prop As String: " + property.ToString()); Console.WriteLine(); }