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
'Declaration
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
older
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitiveThe older primitive.
Return Value
Type: Boolean
true if the undo primitives can be merged, otherwise false.
.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.