Click or drag to resize

RpObjectOnUpdate Method (Int32, RpObject, Int32)

Called when the application component needs to replace the target object of a server relation.

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 OnUpdate(
	int id,
	RpObject objRef,
	int attrRefId
)

Parameters

id
Type: SystemInt32
: The identifier of the attribute attached to the representation object (must be a (hyper-)reference.
objRef
Type: RW.Server.ComponentRpObject
: A representation object and
attrRefId
Type: SystemInt32
: An identifier of an attribute of that object.

Return Value

Type: Boolean
True if the update is allowed, false otherwise.
See Also