ITextUndoPrimitive::Merge Method (ITextUndoPrimitive^)

 

Performs a merge with the specified undo primitive.

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

ITextUndoPrimitive^ Merge(
	ITextUndoPrimitive^ older
)

Parameters

older
Type: Microsoft.VisualStudio.Text.Operations::ITextUndoPrimitive^

The older primitive to merge.

Return Value

Type: Microsoft.VisualStudio.Text.Operations::ITextUndoPrimitive^

The replacement primitive.

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

Return to top
Show: