VsUndoPackageClass.CountOpenTransactions(Int32) Method

Definition

Returns the nesting level of the linked undo transactions.

public:
 virtual int CountOpenTransactions(int % pCount) = Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoTransactionManager::CountOpenTransactions;
public:
 virtual int CountOpenTransactions(int % pCount);
 virtual int CountOpenTransactions(int & pCount);
public virtual int CountOpenTransactions (ref int pCount);
abstract member CountOpenTransactions : int -> int
override this.CountOpenTransactions : int -> int
Public Overridable Function CountOpenTransactions (ByRef pCount As Integer) As Integer

Parameters

pCount
Int32

Pointer to a count object. The count object indicates the levels of nesting.

Returns

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

Implements

Applies to