AcMapResourceService::RenameResourceData Method

Autodesk GIS Map Platform

AcMapResourceService:: RenameResourceData Method

Renames resource data for the specified resource.

virtual void RenameResourceData(
    MgResourceIdentifier* resource, 
    string oldDataName, 
    string newDataName, 
    bool overwrite
);
Parameters 
Description 
resource 
The identifier of resource for which the resource data will be renamed.  
oldDataName 
Old data name. 
newDataName 
New data name. 
overwrite 
Flag to determine whether or not the destination resource data should be overwritten if it exists.  
Remarks

This method is not supported in AutoCAD Map 3D and will always throw MgNotImplementedException.

MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].