共用方式為


Workspace.Get Method (array<GetRequest[], GetOptions, GetFilterCallback, Object, array<String )

Request that the server update the specified items.

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

Syntax

'Declaration
Public Function Get ( _
    requests As GetRequest(), _
    options As GetOptions, _
    filterCallback As GetFilterCallback, _
    userData As Object, _
    itemAttributeFilters As String() _
) As GetStatus
public GetStatus Get(
    GetRequest[] requests,
    GetOptions options,
    GetFilterCallback filterCallback,
    Object userData,
    string[] itemAttributeFilters
)
public:
GetStatus^ Get(
    array<GetRequest^>^ requests, 
    GetOptions options, 
    GetFilterCallback^ filterCallback, 
    Object^ userData, 
    array<String^>^ itemAttributeFilters
)
member Get : 
        requests:GetRequest[] * 
        options:GetOptions * 
        filterCallback:GetFilterCallback * 
        userData:Object * 
        itemAttributeFilters:string[] -> GetStatus
public function Get(
    requests : GetRequest[], 
    options : GetOptions, 
    filterCallback : GetFilterCallback, 
    userData : Object, 
    itemAttributeFilters : String[]
) : GetStatus

Parameters

  • userData
    Type: System.Object

    An object to pass to the delegate when it is called.

  • itemAttributeFilters
    Type: array<System.String[]

    An array of versioned item properties to return with each Get operation.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.GetStatus
A GetStatus object that indicates how many operations, conflicts, errors, and so on occurred when the Get operation was being processed.

Remarks

The filtering delegate sets the Ignore property on each operation to be discarded, which allows the caller to discard operations before they are processed.

.NET Framework Security

See Also

Reference

Workspace Class

Get Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace