Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

# MgResource Class Reference
[Resource Service Classes]

The abstract base class for all resource types. More...

Inherits MgNamedSerializable.

Inherited by MgMapBase, and MgSelectionBase.

List of all members.

## Public Member Functions
MgResourceIdentifier * | GetResourceId ()
| Identifies the resource.
void | Open (MgResourceService *resourceService, MgResourceIdentifier *resourceId)
| Opens the resource using the specified resource service and resource identifier.
void | Save (MgResourceService *resourceService, MgResourceIdentifier *resourceId)
| Saves the resource using the specified resource service and resource identifier.
void | Save (MgResourceService *resourceService)
| Saves the resource using the specified resource service.

## Detailed Description

The abstract base class for all resource types.

Comments or suggestions? Send us feedback.