Partager via


ITextUndoPrimitive.Merge Method

Performs a merge with the specified undo primitive.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Déclaration
Function Merge ( _
    older As ITextUndoPrimitive _
) As ITextUndoPrimitive
ITextUndoPrimitive Merge(
    ITextUndoPrimitive older
)
ITextUndoPrimitive^ Merge(
    ITextUndoPrimitive^ older
)
abstract Merge : 
        older:ITextUndoPrimitive -> ITextUndoPrimitive 
function Merge(
    older : ITextUndoPrimitive
) : ITextUndoPrimitive

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitive
The replacement primitive.

Remarks

The resulting ITextUndoPrimitive will be added to the transaction, and the two input primitives will be removed.

.NET Framework Security

See Also

Reference

ITextUndoPrimitive Interface

Microsoft.VisualStudio.Text.Operations Namespace