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