| 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.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.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