Queries items from a container. If the path points to a file or a string, returns that item. If the path point to a folder, returns the folder and its child items. If the path is not specified, returns all items of the container.
Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function QueryItems ( _
    requestContext As TeamFoundationRequestContext, _
    containerId As Long, _
    path As String, _
    includeProperties As Boolean _
) As List(Of FileContainerItem)
public List<FileContainerItem> QueryItems(
    TeamFoundationRequestContext requestContext,
    long containerId,
    string path,
    bool includeProperties
)
public:
List<FileContainerItem^>^ QueryItems(
    TeamFoundationRequestContext^ requestContext, 
    long long containerId, 
    String^ path, 
    bool includeProperties
)
member QueryItems : 
        requestContext:TeamFoundationRequestContext * 
        containerId:int64 * 
        path:string * 
        includeProperties:bool -> List<FileContainerItem> 
public function QueryItems(
    requestContext : TeamFoundationRequestContext, 
    containerId : long, 
    path : String, 
    includeProperties : boolean
) : List<FileContainerItem>
Parameters
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- Request context. 
- containerId 
 Type: System.Int64- Container Id. 
- path 
 Type: System.String- Path to the item. Null to query for all items. 
- includeProperties 
 Type: System.Boolean- Set to true to set additional properties on the returned items (such as HashValue). False otherwise. 
Return Value
Type: System.Collections.Generic.List<FileContainerItem>
Items that match the query.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.