# mgIGetSpatialContexts.h File Reference

Include dependency graph for mgIGetSpatialContexts.h:

This graph shows which files directly or indirectly include this file:

## Namespaces
namespace | OSGeo
namespace | OSGeo::FDO
namespace | OSGeo::FDO::Commands
namespace | OSGeo::FDO::Commands::SpatialContext
## Functions
System::Void | OSGeo::FDO::Commands::SpatialContext::Execute ()
| Executes the ActivateSpatialContext command. An exception is thrown if the spatial context does not exist.
__property System::Void | OSGeo::FDO::Commands::SpatialContext::set_ActiveOnly (System::Boolean value)
| Sets a Boolean flag that indicates if the GetSpatialContexts command will return only the active spatial context or all spatial contexts. The default value of this flag is false, return all spatial contexts.
## Variables
public __gc __interface | OSGeo::FDO::Commands::SpatialContext::IGetSpatialContexts
public __gc __interface | OSGeo::FDO::Commands::SpatialContext::ISpatialContextReader