Partager via


IVsAction.CanMerge(IVsAction) Method

Definition

Determines if the specified action can be merged into the text buffer undo history.

public:
 int CanMerge(Microsoft::VisualStudio::TextManager::Interop::IVsAction ^ pAction);
public:
 int CanMerge(Microsoft::VisualStudio::TextManager::Interop::IVsAction ^ pAction);
int CanMerge(Microsoft::VisualStudio::TextManager::Interop::IVsAction const & pAction);
public int CanMerge (Microsoft.VisualStudio.TextManager.Interop.IVsAction pAction);
abstract member CanMerge : Microsoft.VisualStudio.TextManager.Interop.IVsAction -> int
Public Function CanMerge (pAction As IVsAction) As Integer

Parameters

pAction
IVsAction

[in] The specified action.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsAction::CanMerge(  
   [in] IVsAction *pAction  
);  

Applies to