This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IV > IVersionEvents2 Interface > IVersionEvents2.OnPost Event (ArcObjects .NET 10.5 SDK) |
This event is fired after a version is posted.
[Visual Basic .NET] Public Event OnPost As OnPostEventHandler
[C#] public event OnPostEventHandler OnPost
[C++]
HRESULT OnPost(
BSTR targetVersionName
);
[C++]
Parameters targetVersionName [in] targetVersionName is a parameter of type BSTR
This event is fired after a version is posted. It can be used by application developers to initiate custom code every time a version is posted. Since the event fires after a post is completed it can not be used to determine differences between versions.