NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ComponentModelPersister.GenerateEvents

Generates the code for the bound events of the control. Subclasses can override if their persistence mechanism is different (e.g. Web Forms)

[Visual Basic]
Overridable Protected Sub GenerateEvents( _
   ByVal component As IComponent, _
   ByVal objectName() As String, _
   ByVal eventPropertyService As IEventPropertyService, _
   ByVal statements As ObjectList _
)
[C#]
protected virtual void GenerateEvents(
   IComponent component,
   string[] objectName,
   IEventPropertyService eventPropertyService,
   ObjectList statements
);
[C++]
protected: virtual void GenerateEvents(
   IComponent* component,
   String* objectName[],
   IEventPropertyService* eventPropertyService,
   ObjectList* statements
);
[JScript]
protected function GenerateEvents(
   component : IComponent,
   objectName : String[],
   eventPropertyService : IEventPropertyService,
   statements : ObjectList
);

Parameters

component
The component that the event is hooked to.
objectName
The name of the object firing the events.
eventPropertyService
The service used to map events to properties.
statements
A statement list onto which the generated event is to be tacked.

See Also

ComponentModelPersister Class | ComponentModelPersister Members | System.ComponentModel.Design Namespace