Partager via


ITextUndoPrimitive.CanMerge Method

Determines whether this undo primitive can 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 CanMerge ( _
    older As ITextUndoPrimitive _
) As Boolean
bool CanMerge(
    ITextUndoPrimitive older
)
bool CanMerge(
    ITextUndoPrimitive^ older
)
abstract CanMerge : 
        older:ITextUndoPrimitive -> bool 
function CanMerge(
    older : ITextUndoPrimitive
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the undo primitives can be merged, otherwise false.

.NET Framework Security

See Also

Reference

ITextUndoPrimitive Interface

Microsoft.VisualStudio.Text.Operations Namespace