Enumerates all the resources which reference the specified resource.
.NET Syntax
Java Syntax
PHP Syntax
Example (PHP)
// Assuming $resourceService is already initialized. $resourceID= new MgResourceIdentifier('Library://Samples/Sheboygan/Layers/BuildingOutlines.LayerDefinition'); $byteReader = $resourceService->EnumerateReferences($resourceID); echo $byteReader->ToString(); /* Returns for example: <?xml version="1.0" encoding="UTF-8"?> <ResourceReferenceList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceReferenceList-1.0.0.xsd"> <ResourceId>Library://Samples/Sheboygan/Maps/Sheboygan.MapDefinition</ResourceId> </ResourceReferenceList> */
|