共用方式為


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

Request server to update specified items.

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

Syntax

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

Parameters

  • userData
    Type: System.Object
    An object to pass to the delegate when it is called.
  • propertyNameFilters
    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 describing the number of operations, conflicts, errors, etc. that occurred while processing the Get operation.

Remarks

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

.NET Framework Security

See Also

Reference

Workspace Class

Get Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace