Public Overridable Sub ItemAdding ( _ properties As SPItemEventProperties _ )
Dim instance As SPItemEventReceiver Dim properties As SPItemEventProperties instance.ItemAdding(properties)
public virtual void ItemAdding ( SPItemEventProperties properties )
This event occurs in the following situations:
Default data is populated from a template.
New items are created using the browser user interface.
New items are added using the object model or Web service.
ItemAdding, as all before events, has its Items properties in the AfterProperties collection.
NOTE: The ID is still unreachable, since the Item has not been created yet
Only issue is that user don't see(values aren't enumerated) values stored in this collection during debuging. :)