Rogue Wave Server Component library for .NET Reference Guide
|
|
RpObjectOnAddToCollection Method |
This method should be called each time the application component adds a
representation object to the object collection. It allows the server to
be notified about this modification.
Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 7.0.0.0 (7.0.0.0)
public virtual bool OnAddToCollection( RpObject owner, int colId )
Public Overridable Function OnAddToCollection ( owner As RpObject, colId As Integer ) As Boolean
public: virtual bool OnAddToCollection( RpObject^ owner, int colId )
Parameters
- owner
- Type: RW.Server.ComponentRpObject
: The collection owner. - colId
- Type: SystemInt32
: The collection identifier.
Return Value
Type: BooleanFalse if the update is not allowed or if the resulting updates on the server side might impair the integrity of the server object model type; true otherwise.
Copyright© 2017, Rogue Wave Software, Inc. All Rights Reserved.
Send comments on this topic to
Give us feedback