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::GetName | ( |  | ) | `[virtual]`
Extracts the resource's name from the resource identifier. .NET Syntax
`virtual string GetName();`
Java Syntax
`virtual String GetName();`
PHP Syntax
`virtual string GetName();`
Returns: Returns the resource name. Example (PHP)
     $resourceID = new MgResourceIdentifier("Library://Geography/World.MapDefinition");
     $name = $resourceID->GetName();  // returns: "World"

Comments or suggestions? Send us feedback.