共用方式為


VersionControlServer.GetMergeCandidates Method (ItemSpec, String, MergeOptionsEx)

Gets the candidates for merging between the requested items.

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

Syntax

'Declaration
Public Function GetMergeCandidates ( _
    source As ItemSpec, _
    targetPath As String, _
    options As MergeOptionsEx _
) As MergeCandidate()
public MergeCandidate[] GetMergeCandidates(
    ItemSpec source,
    string targetPath,
    MergeOptionsEx options
)
public:
array<MergeCandidate^>^ GetMergeCandidates(
    ItemSpec^ source, 
    String^ targetPath, 
    MergeOptionsEx options
)
member GetMergeCandidates : 
        source:ItemSpec * 
        targetPath:string * 
        options:MergeOptionsEx -> MergeCandidate[] 
public function GetMergeCandidates(
    source : ItemSpec, 
    targetPath : String, 
    options : MergeOptionsEx
) : MergeCandidate[]

Parameters

  • targetPath
    Type: System.String

    The path of the target for the potential merge.

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.MergeCandidate[]
An array of MergeCandidate objects.

.NET Framework Security

See Also

Reference

VersionControlServer Class

GetMergeCandidates Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace