MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual STRING MgResourceIdentifier::GetPath ( ) [virtual]

Extracts the resource's path from the resource identifier.

.NET Syntax
virtual string GetPath();
Java Syntax
virtual String GetPath();
PHP Syntax
virtual string GetPath();
Returns:
Returns the resource's path.
Example (PHP)
 $resourceID = new MgResourceIdentifier("Library://Geography/World.MapDefinition");
 $path = $resourceID->GetPath();  // returns: "Geography"