ProjectFileInfo.Equals
Contents
[
Hide
]Equals(ProjectFileInfo)
Returns a value indicating whether this instance is equal to a specified object.
public bool Equals(ProjectFileInfo other)
Parameter | Type | Description |
---|---|---|
other | ProjectFileInfo | The specified object to compare with this instance. |
Return Value
returns true if the specified ProjectFileInfo and this instance have equal file format and application info.
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
- class ProjectFileInfo
- namespace Aspose.Tasks
- assembly Aspose.Tasks
Equals(object)
Returns a value indicating whether this instance is equal to a specified object.
public override bool Equals(object obj)
Parameter | Type | Description |
---|---|---|
obj | Object | The specified object to compare with this instance. |
Return Value
returns true if the specified ProjectFileInfo and this instance have equal file format and application info.
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
- class ProjectFileInfo
- namespace Aspose.Tasks
- assembly Aspose.Tasks