MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual void MgSelection::Open ( MgResourceService resourceService,
CREFSTRING  mapName 
) [virtual]

Loads the selection object from a session repository.

Parameters:
resourceService(MgResourceService) An MgResourceService that can be used to retrieve the map.
mapName(String/string) A string that specifies the name of the map. This is the name that was specified when Create was called to create the map object.
.NET Syntax
virtual void Open(MgResourceService resourceService, string mapName);
Java Syntax
virtual void Open(MgResourceService resourceService, String mapName);
PHP Syntax
virtual void Open(MgResourceService resourceService, string mapName);
Returns:
Returns nothing.

Reimplemented from MgSelectionBase.