共用方式為


Workspace.ResolveConflict Method (Conflict, array<Conflict[]%, array<String )

Attempt to resolve a conflict according to the conflict's Resolution property.

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

Syntax

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

Parameters

  • propertyNameFilters
    Type: array<System.String[]
    An array of versioned item properties to return with each get operation.

Remarks

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

.NET Framework Security

See Also

Reference

Workspace Class

ResolveConflict Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace