Hi all,
I am struggling to find out of if the feature has been
modified and the code that I have used before was
Private Shared m_appReference As AppReference
If m_appReference.fnGetEditor.CurrentTask.Name = "Modify Feature" Then
‘do something'
End If
Definition of the fnGetEditior is as below
Public Function fnGetEditor() As IEditor
Dim pId As New UID
Dim pEditor As IEditor
Try
' get the Editor based on its UID value - esriCore.Editor
' pId.Value = "esriCore.Editor"
pId.Value = "esriEditor.Editor"
pEditor = Me.Application.FindExtensionByCLSID(pId)
Return pEditor
Catch ex As Exception
Return Nothing
End Try
End Function
Any help would be appreciated.
Thanks
Did you have anything in addition to the above code? The code you're posted so far appears to show how to get the hook into the ArcMap Editor. Are you wanting to wire into it's events so that you can review when features are created, updated, or deleted?