![]() ![]() |
ESRI.ArcGIS.ADF.ArcGISServer.Editor | |
PreAttributeEdit Event | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.ArcGISServer.Editor Namespace > EditorTask Class : PreAttributeEdit Event |
Visual Basic (Declaration) | |
---|---|
<ResDescriptionAttribute("Fires before a feature attribute is executed.")> <ResCategoryAttribute("Editing")> Public Event PreAttributeEdit As PreAttributeEditEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
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 |
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.
Property | Description |
---|---|
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. |
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