AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgLayerBase::MgLayerBase ( MgResourceIdentifier layerDefinition,
MgResourceService resourceService 
)

Creates an MgLayerBase object from a layer definition.

.NET Syntax
MgLayerBase(MgResourceIdentifier layerDefinition, MgResourceService resourceService);
Java Syntax
MgLayerBase(MgResourceIdentifier layerDefinition, MgResourceService resourceService);
PHP Syntax
MgLayerBase(MgResourceIdentifier layerDefinition, MgResourceService resourceService);

Parameters:
layerDefinition (MgResourceIdentifier) Identifier of the layer definition in a repository.
resourceService (MgResourceService) An MgResourceService that can be used to retrieve the layer definition.