MapGuide API Reference
|
virtual STRING MgResourceIdentifier::GetResourceType | ( | ) | [virtual] |
Extracts the resource's type from the resource identifier.
virtual string GetResourceType(); |
virtual String GetResourceType(); |
virtual string GetResourceType(); |
$resourceID = new MgResourceIdentifier("Library://Geography/World.MapDefinition"); $type = $resourceID->GetResourceType(); // returns: "MapDefinition"