MapGuide API Reference
|
virtual void MgResourceIdentifier::SetResourceType | ( | CREFSTRING | type | ) | [virtual] |
Sets the resource type.
virtual void SetResourceType(string type); |
virtual void SetResourceType(String type); |
virtual void SetResourceType(string type); |
type | (String/string) Resource type string as defined in MgResourceType . It is case sensitive. |
// Assuming $newResourceID has already been created $newResourceID->SetResourceType("MapDefinition");