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


IXYEventSourceName.SpatialReference Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IXYEventSourceName.SpatialReference Property

The spatial reference of the XYEventSource.

[Visual Basic .NET]
Public Property SpatialReference As ISpatialReference
[C#]
public ISpatialReference SpatialReference {get; set;}
[C++]
HRESULT get_SpatialReference(
  ISpatialReference** SpatialReference
);
[C++]
HRESULT putref_SpatialReference(
  ISpatialReference* SpatialReference
);
[C++]

Parameters SpatialReference [out, retval]
SpatialReference is a parameter of type ISpatialReference SpatialReference [in]
SpatialReference is a parameter of type ISpatialReference

Product Availability

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

Remarks

The SpatialReference refers to the spatial reference of the coordinates in the table. If a spatial reference is not specified, the XY event source will have either an unknown or an assumed geographic coordinate system. The coordinate system will be assumed geographic when the coordiates are in the range of 180 to -180 in the X direction and 90 to -90 in the Y direction.

See Also

IXYEventSourceName Interface