BuiltInProjectPropertyCollection Class |
Namespace: Aspose.Tasks.Properties
The BuiltInProjectPropertyCollection type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Author |
Gets or sets the author of a project.
|
![]() ![]() | Category |
Gets or sets the category of a project.
|
![]() ![]() | Comments |
Gets or sets the comments of a project.
|
![]() ![]() | Company |
Gets or sets the company of a project.
|
![]() ![]() | Count |
Gets the number of properties in the collection.
(Inherited from PropertyKeyedCollectionT.) |
![]() ![]() | HyperlinkBase |
Gets or sets the hyperlink base of a project.
|
![]() ![]() | IsReadOnly |
Gets a value indicating whether this collection is read-only; otherwise, false.
(Overrides PropertyKeyedCollectionTIsReadOnly.) |
![]() ![]() | Item |
Gets the Property associated with the specified key.
(Inherited from PropertyKeyedCollectionT.) |
![]() ![]() | Keywords |
Gets or sets the keywords of a project.
|
![]() ![]() | Manager |
Gets or sets the manager of a project.
|
![]() ![]() | Names |
Gets the collection of all property names.
(Inherited from PropertyKeyedCollectionT.) |
![]() ![]() | Subject |
Gets or sets the subject of a project.
|
![]() ![]() | Title |
Gets or sets the title of a project.
|
Name | Description | |
---|---|---|
![]() ![]() | Add |
Creates a new custom property.
(Inherited from PropertyKeyedCollectionT.) |
![]() ![]() | Contains |
Determines whether the PropertyCollectionT contains a property with the specified name.
(Inherited from PropertyKeyedCollectionT.) |
![]() | Equals | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |
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(); }