This document is archived and information here might be outdated.  Recommended version.


SpatialReferenceEnvironment Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Classes > S > SpatialReferenceEnvironment Class
ArcGIS Developer Help

SpatialReferenceEnvironmentClass Class

Creates various spatial reference objects.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

SpatialReferenceEnvironment is a singleton object. However, if you are working in a multi-threaded environment, each thread will have its own SpatialReferenceEnvironment. You should not pass information between the threads.

Supported Platforms

Windows, Solaris, Linux

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IClassFactory
ISpatialReferenceFactory Provides access to members that create different kinds of spatial reference components.
ISpatialReferenceFactory2 Provides access to members that create different kinds of spatial reference components.
ISpatialReferenceFactory3 Provides access to members that create vertical datums or coordinate systems.
ISpatialReferenceFactory4 Provides access to members that create lists of coordinate systems.
ISpatialReferenceFactory5 Provides access to members that control the geographic transformations fallback mechanism.
ISpatialReferenceFactory6 Provides access to members that control the geographic transformations fallback mechanism.
ISpatialReferenceSingletonManager Ensure that no duplicates of projection engine pcs or gcs objects are created.
ISupportErrorInfo (esriSystem)
SpatialReferenceEnvironment is the one and only instance of its class.