Web API Reference | MapGuide Open Source

- Overview
- Modules
- Classes

GetName
GetPath
GetRepositoryName
GetRepositoryType
GetResourceType
MgResourceIdentifier
SetName
SetPath
SetRepositoryName
SetRepositoryType
SetResourceType
ToString
Validate
virtual STRING MgResourceIdentifier::GetResourceType | ( |  | ) | `[virtual]`
Extracts the resource's type from the resource identifier. .NET Syntax
`virtual string GetResourceType();`
Java Syntax
`virtual String GetResourceType();`
PHP Syntax
`virtual string GetResourceType();`
Returns: Returns the resource's type string, as defined in MgResourceType. Example (PHP)
     $resourceID = new MgResourceIdentifier("Library://Geography/World.MapDefinition");
     $type = $resourceID->GetResourceType();   // returns: "MapDefinition"

Comments or suggestions? Send us feedback.