AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

virtual STRING MgResourceIdentifier::ToString (  )  [virtual]

Converts the resource identifier into a string.

.NET Syntax
virtual string ToString();
Java Syntax
virtual String ToString();
PHP Syntax
virtual string ToString();

Returns:
Returns a fully qualified resource specifier string.
Example (PHP)
 // Assuming $newResourceID has already been created
 $string = $newResourceID->ToString(); // returns e.g. "Library://Maps/Atlas.MapDefinition"