MapGuide API Reference
|
virtual void MgResourceIdentifier::SetPath | ( | CREFSTRING | path | ) | [virtual] |
Set the resource path within the repository.
virtual void SetPath(string path); |
virtual void SetPath(String path); |
virtual void SetPath(string path); |
path | (String/string) Resource path within the repository. It can contain spaces but cannot contain any of the characters %*:|?<'&">= Do not include the repository part of the identifier (for example, Library:// ). Do not include the trailing slash. |
// Assuming $newResourceID has already been created $newResourceID->SetPath("North America/Maps"); $newResourceID->Validate();