ProjectManagementPackage Class |
Namespace: GroupDocs.Metadata.Formats.Document
The ProjectManagementPackage type exposes the following members.
Name | Description | |
---|---|---|
![]() | Author |
Gets or sets the author of the project.
|
![]() | Category |
Gets or sets the category.
|
![]() | Comments |
Gets or sets the user comments.
|
![]() | Company |
Gets or sets the company.
|
![]() | Count |
Gets the number of metadata properties.
(Inherited from MetadataPackage.) |
![]() | CreationDate |
Gets or sets the creation date.
|
![]() | Guid |
Gets or sets the id of the project.
|
![]() | HyperlinkBase |
Gets or sets the hyperlink base.
|
![]() | Item |
Gets the MetadataProperty with the specified name.
(Inherited from MetadataPackage.) |
![]() | Keys |
Gets a collection of the metadata property names.
(Inherited from MetadataPackage.) |
![]() | Keywords |
Gets or sets the keywords.
|
![]() | KnowPropertyDescriptors | Obsolete.
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | LastAuthor |
Gets or sets the last author.
|
![]() | LastPrinted |
Gets or sets the project's last print time.
|
![]() | LastSaved |
Gets or sets the date when the project was saved last time.
|
![]() | Manager |
Gets or sets the project manager.
|
![]() | MetadataType |
Gets the metadata type.
(Inherited from MetadataPackage.) |
![]() | PropertyDescriptors |
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Revision |
Gets or sets the revision number.
|
![]() | SaveVersion |
Gets the version of Microsoft Office Project from which a project file was saved.
|
![]() | Subject |
Gets or sets the subject.
|
![]() | Template |
Gets or sets the template.
|
![]() | Title |
Gets or sets the title.
|
Name | Description | |
---|---|---|
![]() | AddProperties |
Adds known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Clear |
Removes all writable metadata properties from the package.
(Inherited from DocumentPackage.) |
![]() | ClearBuiltInProperties |
Removes all built-in metadata properties.
(Inherited from DocumentPackage.) |
![]() | ClearCustomProperties |
Removes all custom metadata properties.
(Inherited from DocumentPackage.) |
![]() | Contains |
Determines whether the package contains a metadata property with the specified name.
(Inherited from MetadataPackage.) |
![]() | Equals | (Inherited from Object.) |
![]() | FindProperties |
Finds the metadata properties satisfying the specified predicate.
The search is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from MetadataPackage.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | Remove |
Removes a writable metadata property by the specified name.
(Inherited from DocumentPackage.) |
![]() | RemoveProperties |
Removes metadata properties satisfying the specified predicate.
(Inherited from MetadataPackage.) |
![]() | Sanitize |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | Set(String, Boolean) |
Adds or replaces the metadata property with the specified name.
|
![]() | Set(String, DateTime) |
Adds or replaces the metadata property with the specified name.
|
![]() | Set(String, Double) |
Adds or replaces the metadata property with the specified name.
|
![]() | Set(String, Int32) |
Adds or replaces the metadata property with the specified name.
|
![]() | Set(String, String) |
Adds or replaces the metadata property with the specified name.
|
![]() | SetProperties |
Sets known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
This method is a combination of AddProperties(FuncMetadataProperty, Boolean, PropertyValue) and UpdateProperties(FuncMetadataProperty, Boolean, PropertyValue).
If an existing property satisfies the predicate its value is updated.
If there is a known property missing in the package that satisfies the predicate it is added to the package.
(Inherited from MetadataPackage.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateProperties |
Updates known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
using (Metadata metadata = new Metadata(Constants.InputMpp)) { var root = metadata.GetRootPackage<ProjectManagementRootPackage>(); root.DocumentProperties.Author = "test author"; root.DocumentProperties.CreationDate = DateTime.Now; root.DocumentProperties.Company = "GroupDocs"; root.DocumentProperties.Comments = "test comment"; root.DocumentProperties.Keywords = "metadata, built-in, update"; // ... metadata.Save(Constants.OutputMpp); }