Returns 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->GetResourceData($resourceID, "locations of points of interest"); $byteSink = new MgByteSink($byteReader); $byteSink->ToFile('C:\temp\points.sdf');
|