Class ProjectFileInfo
Contents
[
Hide
]ProjectFileInfo class
The class instance contains information about project file format and version of Microsoft Project where the file was created.
public sealed class ProjectFileInfo : IEquatable<ProjectFileInfo>
Properties
Name | Description |
---|---|
CanRead { get; } | Gets a value indicating whether defines can Aspose.Tasks process the project file. |
IsPasswordProtected { get; } | Gets a value indicating whether a project is password protected. |
ProjectApplicationInfo { get; } | Gets project file application info. |
ProjectFileFormat { get; } | Gets project file format. |
Methods
Name | Description |
---|---|
override Equals(object) | Returns a value indicating whether this instance is equal to a specified object. |
Equals(ProjectFileInfo) | Returns a value indicating whether this instance is equal to a specified object. |
override GetHashCode() | Returns a hash code value for the instance of the ProjectFileInfo class. |
Remarks
Use CanRead property to define that the library can process the project file.
Examples
Shows how to read project file info.
var info = Project.GetProjectFileInfo(DataDir + "Project.xml");
Console.WriteLine("CanRead: " + info.CanRead);
Console.WriteLine("ProjectApplicationInfo: " + info.ProjectApplicationInfo);
Console.WriteLine("ProjectFileFormat: " + info.ProjectFileFormat);
See Also
- namespace Aspose.Tasks
- assembly Aspose.Tasks