ESRI.ArcGIS.ADF.ArcGISServer.Editor
PreAttributeEdit Event
See Also  Send Feedback
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace > EditorTask Class : PreAttributeEdit Event




The event raised prior to editing a feature attribute.

Syntax

Visual Basic (Declaration) 
<ResDescriptionAttribute("Fires before a feature attribute is executed.")>
<ResCategoryAttribute("Editing")>
Public Event PreAttributeEdit As PreAttributeEditEventHandler
Visual Basic (Usage)Copy Code
Dim instance As EditorTask
Dim handler As PreAttributeEditEventHandler
 
AddHandler instance.PreAttributeEdit, handler
C# 
[ResDescriptionAttribute("Fires before a feature attribute is executed.")]
[ResCategoryAttribute("Editing")]
public event PreAttributeEditEventHandler PreAttributeEdit

Event Data

The event handler receives an argument of type PreAttributeEditEventArgs containing data related to this event. The following PreAttributeEditEventArgs properties provide information specific to this event.

PropertyDescription
Cancel Event handlers can set this to false to cancel the attribute edit.
Feature (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.AttributeEditEventArgs) The IFeature containing the attribute being edited.
FeatureLayer (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.AttributeEditEventArgs) The IFeatureLayer containing the feature being edited.
Field (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.AttributeEditEventArgs) The IField of the attribute being edited.
NewValue (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.AttributeEditEventArgs) The new value of the attribute being edited.
ReturnMessage (Inherited from ESRI.ArcGIS.ADF.ArcGISServer.Editor.AttributeEditEventArgs) This can be set by event handlers to display a message in the browser.

Requirements

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

See Also

© 2011 All Rights Reserved.