public static void Run()
{
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType.FullName);
// ExStart:ImportDataFromXMLFileFormats
Project project = new Project(dataDir + "Project.xml");
ProjectFileInfo info = Project.GetProjectFileInfo(dataDir + "Project.xml");
Console.WriteLine(info.ProjectFileFormat);
// ExEnd:ImportDataFromXMLFileFormats
}
}