Workspace.ResolveConflicts Method (IEnumerable<Conflict>, array<String[], array<Conflict %)

Attempts to resolve a conflict according to the conflict's Resolution property. If the conflict is successfully resolved, the IsResolved property will be true.

If resolving these conflicts caused other conflicts to be deleted besides the current conflicts, then the list of other deleted conflicts will be returned in resolvedConflicts.

Note: For this method, all resolution options for the conflicts must be the same.

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

Syntax

'Declaration
Public Sub ResolveConflicts ( _
    conflicts As IEnumerable(Of Conflict), _
    itemAttributeFilters As String(), _
    <OutAttribute> ByRef resolvedConflicts As Conflict() _
)
public void ResolveConflicts(
    IEnumerable<Conflict> conflicts,
    string[] itemAttributeFilters,
    out Conflict[] resolvedConflicts
)
public:
void ResolveConflicts(
    IEnumerable<Conflict^>^ conflicts, 
    array<String^>^ itemAttributeFilters, 
    [OutAttribute] array<Conflict^>^% resolvedConflicts
)
member ResolveConflicts : 
        conflicts:IEnumerable<Conflict> * 
        itemAttributeFilters:string[] * 
        resolvedConflicts:Conflict[] byref -> unit
public function ResolveConflicts(
    conflicts : IEnumerable<Conflict>, 
    itemAttributeFilters : String[], 
    resolvedConflicts : Conflict[]
)

Parameters

  • itemAttributeFilters
    Type: array<System.String[]

    A list of versioned item properties to return with each get operation

.NET Framework Security

See Also

Reference

Workspace Class

ResolveConflicts Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace