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


IXYEventSourceName.SpatialReference Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IX > IXYEventSourceName Interface > IXYEventSourceName.SpatialReference Property
ArcGIS Developer Help

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 [in]

SpatialReference is a parameter of type ISpatialReference* SpatialReference [out, retval]
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