This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IJ > IJSONConverterGeometry Interface > IJSONConverterGeometry.ToSpatialReference Method (ArcObjects .NET 10.5 SDK) |
Reads spatial reference from a JSON object.
[Visual Basic .NET] Public Function ToSpatialReference ( _ ByVal pJSONObject As IJSONObject _ ) As ISpatialReference
[C#] public ISpatialReference ToSpatialReference ( IJSONObject pJSONObject );
[C++]
HRESULT ToSpatialReference(
IJSONObject* pJSONObject,
ISpatialReference** ppSR
);
[C++]
Parameters pJSONObject [in]
pJSONObject is a parameter of type IJSONObject ppSR [out, retval]
ppSR is a parameter of type ISpatialReference