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
声明
Public Function GetMergeCandidates ( _
    source As ItemSpec, _
    targetPath As String _
) As MergeCandidate()
public MergeCandidate[] GetMergeCandidates(
    ItemSpec source,
    string targetPath
)
public:
array<MergeCandidate^>^ GetMergeCandidates(
    ItemSpec^ source, 
    String^ targetPath
)
member GetMergeCandidates : 
        source:ItemSpec * 
        targetPath:string -> MergeCandidate[] 
public function GetMergeCandidates(
    source : ItemSpec, 
    targetPath : String
) : MergeCandidate[]
Parameters
- source
 Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec
 The source ItemSpec for the potential merge.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.