| RepresentationNewRpObject Method |
Creates representation objects.
Namespace: RW.Server.ComponentAssembly: RW.Server.Component (in RW.Server.Component.dll) Version: 6.3.0.0 (0.8.0.0)
Syntax public virtual RpObject NewRpObject(
Representation repres,
RpObjModel model
)
Public Overridable Function NewRpObject (
repres As Representation,
model As RpObjModel
) As RpObject
public:
virtual RpObject^ NewRpObject(
Representation^ repres,
RpObjModel^ model
)
Parameters
- repres
- Type: RW.Server.ComponentRepresentation
The representation in which the new
representation object is going to be inserted. - model
- Type: RW.Server.ComponentRpObjModel
The corresponding model.
Return Value
Type:
RpObjectThe new representation object that is
created.
Remarks
This method creates a new representation object based on the
representation object model in the representation if no
constructor attachment has been declared for this model.
This function builds a
RpObject object. You must
override it to build an object of a derived type.
See Also