| RpObjectOnRmFromCollection Method |
This method should be called every time the application component removes
a representation object from a given collection of objects.
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 OnRmFromCollection(
RpObject owner,
int colId,
bool isDestroyed = false
)
Public Overridable Function OnRmFromCollection (
owner As RpObject,
colId As Integer,
Optional isDestroyed As Boolean = false
) As Boolean
public:
virtual bool OnRmFromCollection(
RpObject^ owner,
int colId,
bool isDestroyed = false
)
Parameters
- owner
- Type: RW.Server.ComponentRpObject
The collection owner. - colId
- Type: SystemInt32
The collection identifier. - isDestroyed (Optional)
- Type: SystemBoolean
true if the object is already destroyed locally
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