This documentation is archived and is not being maintained.

DesignerTransaction.Commit Method

Commits this transaction.

[Visual Basic]
Public Sub Commit()
public void Commit();
public: void Commit();
public function Commit();


When a designer transaction is committed, the transaction is considered complete, and does not track further changes.

Once a transaction has been committed, further calls to this method do nothing. Always call this method after creating a transaction, to ensure that the transaction closes properly.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

DesignerTransaction Class | DesignerTransaction Members | System.ComponentModel.Design Namespace | OnCommit