Equals

Equals(ProjectFileInfo)

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

public bool Equals(ProjectFileInfo other)
ParameterTypeDescription
otherProjectFileInfoThe 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


Equals(object)

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

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe 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