TeamFoundationFileContainerService.QueryItems Method (TeamFoundationRequestContext, Int64, String)
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 _
) As List(Of FileContainerItem)
public List<FileContainerItem> QueryItems(
TeamFoundationRequestContext requestContext,
long containerId,
string path
)
public:
List<FileContainerItem^>^ QueryItems(
TeamFoundationRequestContext^ requestContext,
long long containerId,
String^ path
)
member QueryItems :
requestContext:TeamFoundationRequestContext *
containerId:int64 *
path:string -> List<FileContainerItem>
public function QueryItems(
requestContext : TeamFoundationRequestContext,
containerId : long,
path : String
) : List<FileContainerItem>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextRequest context.
containerId
Type: System.Int64Container Id.
path
Type: System.StringPath to the item. Null to query for all items.
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.