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
'宣言
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
- older
Type: Microsoft.VisualStudio.Text.Operations.ITextUndoPrimitive
The older primitive to merge.
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
- 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.