VsUndoPackageClass.CountOpenTransactions(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.