Enumerates the resource data for the specified resource.
.NET Syntax
Java Syntax
PHP Syntax
Example (PHP)
// Assuming that $resourceService has already been initialized $resourceID = new MgResourceIdentifier("Library://Geography/Calgary points of interest.FeatureSource"); $byteReader = $resourceService->EnumerateResourceData($resourceID); echo $byteReader->ToString(); /* Returns for example: <?xml version="1.0" encoding="UTF-8"?> <ResourceDataList xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ResourceDataList-1.0.0.xsd"> <ResourceData> <Name>locations of points of interest</Name> <Type>File</Type> </ResourceData> </ResourceDataList> */
|