Click or drag to resize
MvComponentNewInCollector Method
Overload List
  NameDescription
Public methodNewInCollector(RpObject, Int32, Boolean)
Lets you create a new representation object associated with a collector attribute.

On the server side, this new representation object will be associated with a new Server object, which itself will be included in the relation specified by the collector.

The method determines the representation object type associated with the collector in the view specification. It calls the constructor of this object type and calls the function OnAddToCollection(RpObject, Int32) with collectorOwner and collectorId as parameters on the new object.

Then, if the endUpdate is true, the method EndC2SUpdate is invoked.

Public methodNewInCollector(RpObjModel, RpObject, Int32, Boolean)
Lets you create a new representation object associated with a collector attribute.

On the server side, this new representation object will be associated with a new Server object, which itself will be included in the relation specified by the collector.

The method calls the constructor for the objModel type and calls the function OnAddToCollection(RpObject, Int32) with collectorOwner and collectorId as parameters on the new object.

Then, if the endUpdate is true, the method EndC2SUpdate is invoked.

Top
See Also