Click or drag to resize

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
)

Parameters

owner
Type: RW.Server.ComponentRpObject
: The collection owner.
colId
Type: SystemInt32
: The collection identifier.

Return Value

Type: Boolean
False 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