共用方式為


GetItemsOptions Enumeration

Options for the GetItems and GetItem calls.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
<FlagsAttribute> _
Public Enumeration GetItemsOptions
[FlagsAttribute]
public enum GetItemsOptions
[FlagsAttribute]
public enum class GetItemsOptions
[<FlagsAttribute>]
type GetItemsOptions
public enum GetItemsOptions

Members

Member name Description
Download If set, causes download information to be generated. Set this only if you plan to download the contents of the file after you call GetItems().

IncludeBranchInfo Includes information about whether an item is a branch object in the system.

IncludeRecursiveDeletes Instructs the server to return items which are affected by a Recursive Delete

IncludeSourceRenames Include items that are the source of a rename.

LocalOnly Only available in local workspaces. Will cause the retrieval of items from the local table, without making a server call.

None Default behavior. Sorting is performed and no download information is generated.

Unsorted Speeds GetItems() by not sorting the result items.

See Also

Reference

Microsoft.TeamFoundation.VersionControl.Client Namespace