I need to receive requests in TFS 2012 in the "My requests" folder. I found this article . But after that all requests are given.

I want to receive requests from the My Inquiries folder. This is what I have tried so far:
string selectedProject = this.listProjects.SelectedItem.ToString(); TfsTeamProjectCollection teamProjectCollection = TFSDetail.GetTeamProjectDetails(UrlPath); if (teamProjectCollection != null) { Project detailsOfTheSelectedProject = null; WorkItemStore workItemStore = (WorkItemStore)teamProjectCollection.GetService(typeof(WorkItemStore)); string folder = "My Queries"; var project = workItemStore.Projects[selectedProject]; QueryHierarchy queryHierarchy = project.QueryHierarchy; var queryFolder = queryHierarchy as QueryFolder; QueryItem queryItem = queryFolder[folder]; queryFolder = queryItem as QueryFolder; }
When I add a queryFolder to view, it gives the following output:

How can I get the result and get these values?
source share