Share via


SysCompareContextProvider.mergeDirection Method [AX 2012]

Specifies which SysMergeable interface is the target for the merge.

Syntax

public SysMergeDirection mergeDirection(SysComparable _topComparable1, SysComparable _topComparable2)

Run On

Called

Parameters

Return Value

Type: SysMergeDirection Enumeration
Returns an enumeration that describes the direction of the merge.

Remarks

The target will be invoked when the user clicks the merge icons, and should update itself accordingly.

The method should return SysMergeDirection::None if merge is not supported.

Examples

From the Tutorial_CompareContextProvider.mergeDirection method.

public SysMergeDirection mergeDirection(SysComparable _topComparable1, 
    SysComparable _topComparable2)  
{  
    return SysMergeDirection::None;  
}  

See Also

SysCompareContextProvider Interface

SysMergeable Interface

SysMergeable.mergeText Method

Tutorial_CompareContextProvider.mergeDirection Method