Delen via


Workspace.ResolveConflict Method (Conflict, array<Conflict %)

Attempt to resolve a conflict based on its Resolution property.

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

Syntax

'Declaration
Public Sub ResolveConflict ( _
    conflict As Conflict, _
    <OutAttribute> ByRef resolvedConflicts As Conflict() _
)
public void ResolveConflict(
    Conflict conflict,
    out Conflict[] resolvedConflicts
)
public:
void ResolveConflict(
    Conflict^ conflict, 
    [OutAttribute] array<Conflict^>^% resolvedConflicts
)
member ResolveConflict : 
        conflict:Conflict * 
        resolvedConflicts:Conflict[] byref -> unit
public function ResolveConflict(
    conflict : Conflict, 
    resolvedConflicts : Conflict[]
)

Parameters

Remarks

If the conflict is successfully resolved, the IsResolved property is set to true. If resolving this conflict caused other conflicts to be deleted besides the current conflict, the list of other deleted conflicts appears in resolvedConflicts.

.NET Framework Security

See Also

Reference

Workspace Class

ResolveConflict Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace