| 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.2.0.0 (7.2.0.0)
Syntax 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.
See Also