ITransactions の使用方法

'1回だけ操作を元に戻す方法
Sub test()

Dim pMxDocument As IMxDocument
Set pMxDocument = ThisDocument

Dim pMap As IMap
Set pMap = pMxDocument.FocusMap

Dim pFLayer As IFeatureLayer
Set pFLayer = pMap.Layer(0)

Dim pFClass As IFeatureClass
Set pFClass = pFLayer.FeatureClass

Dim pDataset As IDataset
Set pDataset = pFClass

Dim pTransactions As ITransactions
Set pTransactions = pDataset.Workspace

pTransactions.StartTransaction

Dim pFeature As IFeature
Set pFeature = pFClass.CreateFeature

pFeature.Value(4) = "あああああああああああ"

pFeature.Store

pTransactions.CommitTransaction
'pTransactions.AbortTransaction

End Sub