This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IExternalSerializerGdb Interface > IExternalSerializerGdb.WriteSpatialReference Method (ArcObjects .NET 10.4 SDK) |
Writes spatial reference object. Pass NULL as propname to write standalone JSON object.
[Visual Basic .NET] Public Sub WriteSpatialReference ( _ ByVal propname As String, _ ByVal pSR As ISpatialReference _ )
[C#] public void WriteSpatialReference ( string propname, ISpatialReference pSR );
[C++]
HRESULT WriteSpatialReference(
BSTR propname,
ISpatialReference* pSR
);
[C++]
Parameters propname [in] propname is a parameter of type BSTR pSR [in]
pSR is a parameter of type ISpatialReference