| RepresentationSetMainOrigin Method |
Requests the server to set the server object associated with the
given representation object as the main origin of the view
associated with this representation.
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 void SetMainOrigin(
RpObject rpObj,
bool keepOldOrigin
)
Public Overridable Sub SetMainOrigin (
rpObj As RpObject,
keepOldOrigin As Boolean
)
public:
virtual void SetMainOrigin(
RpObject^ rpObj,
bool keepOldOrigin
)
Parameters
- rpObj
- Type: RW.Server.ComponentRpObject
The representation object associated with the requested view
origin. If null, the view no longer has a main
origin. - keepOldOrigin
- Type: SystemBoolean
If true, the previous main origin (if any) is
kept as the view origin. If false, the
previous main origin is removed from the view origins.
Remarks
See the C++ member functions IlsMvView::setMainOrigin()
and IlsMvView::getMainOrigin() for details.
See Also