AutoCAD Map 3D 2009 Geospatial Platform Reference
From AutoCAD Map 3D Geospatial Platform API
|
|
Gets the content for the specified repository.
- Note:
- This is not valid with AutoCAD Map 3D. It works with MapGuide only.
.NET Syntax
|
virtual MgByteReader GetRepositoryContent(MgResourceIdentifier resource);
|
Java Syntax
|
virtual MgByteReader GetRepositoryContent(MgResourceIdentifier resource);
|
PHP Syntax
|
virtual MgByteReader GetRepositoryContent(MgResourceIdentifier resource);
|
- Parameters:
-
- Returns:
- Returns an MgByteReader object containing the repository content in XML format using the RepositoryContent schema.
Example (PHP)
// Assuming $resourceService has already been initialized.
$resourceID = new MgResourceIdentifier("Library://");
$byteReader = $resourceService->GetRepositoryContent($resourceID);
echo $byteReader->ToString();
- Exceptions:
-
|