Aspose.Tasks for C++
Aspose::Tasks::ProjectFileInfo Class Referencefinal

The class instance contains information about project file format and version of Microsoft Project where the file was created. More...

#include <ProjectFileInfo.h>

Inherits System::IEquatable< System::SharedPtr< Aspose::Tasks::ProjectFileInfo > >.

Public Member Functions

bool get_CanRead () const
 Gets a value indicating whether defines can Aspose.Tasks process the project file. More...
 
bool get_IsPasswordProtected () const
 Gets a value indicating whether a project is password protected. More...
 
FileFormat get_ProjectFileFormat () const
 Gets project file format. More...
 
ApplicationInfo get_ProjectApplicationInfo () const
 Gets project file application info. More...
 
int32_t GetHashCode () const override
 Returns a hash code value for the instance of the ProjectFileInfo class. More...
 
bool Equals (System::SharedPtr< ProjectFileInfo > other) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 
bool Equals (System::SharedPtr< System::Object > obj) override
 Returns a value indicating whether this instance is equal to a specified object. More...
 

Detailed Description

The class instance contains information about project file format and version of Microsoft Project where the file was created.

Use CanRead property to define that the library can process the project file.

Member Function Documentation

◆ Equals() [1/2]

bool Aspose::Tasks::ProjectFileInfo::Equals ( System::SharedPtr< ProjectFileInfo other)
override

Returns a value indicating whether this instance is equal to a specified object.

Parameters
otherThe specified object to compare with this instance.
Returns
returns true if the specified ProjectFileInfo and this instance have equal file format and application info.

◆ Equals() [2/2]

bool Aspose::Tasks::ProjectFileInfo::Equals ( System::SharedPtr< System::Object >  obj)
override

Returns a value indicating whether this instance is equal to a specified object.

Parameters
objThe specified object to compare with this instance.
Returns
returns true if the specified ProjectFileInfo and this instance have equal file format and application info.

◆ get_CanRead()

bool Aspose::Tasks::ProjectFileInfo::get_CanRead ( ) const

Gets a value indicating whether defines can Aspose.Tasks process the project file.

◆ get_IsPasswordProtected()

bool Aspose::Tasks::ProjectFileInfo::get_IsPasswordProtected ( ) const

Gets a value indicating whether a project is password protected.

◆ get_ProjectApplicationInfo()

ApplicationInfo Aspose::Tasks::ProjectFileInfo::get_ProjectApplicationInfo ( ) const

Gets project file application info.

◆ get_ProjectFileFormat()

FileFormat Aspose::Tasks::ProjectFileInfo::get_ProjectFileFormat ( ) const

Gets project file format.

◆ GetHashCode()

int32_t Aspose::Tasks::ProjectFileInfo::GetHashCode ( ) const
override

Returns a hash code value for the instance of the ProjectFileInfo class.

Returns
returns a hash code value for this object.