Click or drag to resize
MvComponentNewMapping Method
Enables the component to create a new representation object associated with a collector attribute.

Namespace: RW.Server.Component
Assembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax
public RpObject NewMapping(
	Representation repres,
	RpObjModel model,
	RpObject cousin,
	bool endUpdate
)

Parameters

repres
Type: RW.Server.ComponentRepresentation
The representation in which the new object is created.
model
Type: RW.Server.ComponentRpObjModel
The object model from which the object is created.
cousin
Type: RW.Server.ComponentRpObject
A representation object. Rogue Wave Server uses this reference to determine which server object the new representation object should be associated with.
endUpdate
Type: SystemBoolean
Controls the calls to the function EndC2SUpdate. This function is invoked on the new representation object only if the parameter is true.

Return Value

Type: RpObject
The new representation object or null if the mapping fails.
Remarks

On the server side, this representation object will be associated with an existing server object.

See Also