ArcObjects Library Reference (GeoDatabase)  

IExternalSerializerGdb.WriteSpatialReference Method

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

Product Availability

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

See Also

IExternalSerializerGdb Interface