This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Classes > S > SpatialReferenceEnvironment CoClass (ArcObjects .NET 10.5 SDK) |
Creates various spatial reference objects.
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.
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 | 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. |
ISupportErrorInfo | Indicates whether a specific interface can return Automation error objects. |