共用方式為


Workspace.AutoResolveValidConflicts Method

Automatically resolves the conflict within the workspace using the available auto resolve options.

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

Syntax

'Declaration
Public Sub AutoResolveValidConflicts ( _
    conflicts As IEnumerable(Of Conflict), _
    resolveOptions As AutoResolveOptions _
)
public void AutoResolveValidConflicts(
    IEnumerable<Conflict> conflicts,
    AutoResolveOptions resolveOptions
)
public:
void AutoResolveValidConflicts(
    IEnumerable<Conflict^>^ conflicts, 
    AutoResolveOptions resolveOptions
)
member AutoResolveValidConflicts : 
        conflicts:IEnumerable<Conflict> * 
        resolveOptions:AutoResolveOptions -> unit
public function AutoResolveValidConflicts(
    conflicts : IEnumerable<Conflict>, 
    resolveOptions : AutoResolveOptions
)

Parameters

.NET Framework Security

See Also

Reference

Workspace Class

Microsoft.TeamFoundation.VersionControl.Client Namespace