This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IF > IFeatureIndex2 Interface > IFeatureIndex2.OutputSpatialReference Property (ArcObjects .NET 10.5 SDK) |
The spatial reference in which to output geometry for a given field.
[Visual Basic .NET] Public Function get_OutputSpatialReference ( _ ByVal FieldName As String _ ) As ISpatialReference
[Visual Basic .NET] Public Sub set_OutputSpatialReference ( _ ByVal FieldName As String, _ ByVal OutputSpatialReference As ISpatialReference _ )
[C#] public ISpatialReference get_OutputSpatialReference ( string FieldName );
[C#] public void set_OutputSpatialReference ( string FieldName, ISpatialReference OutputSpatialReference );
[C++]
HRESULT get_OutputSpatialReference(
BSTR FieldName,
ISpatialReference** OutputSpatialReference
);
[C++]
HRESULT putref_OutputSpatialReference(
BSTR FieldName,
ISpatialReference* OutputSpatialReference
);
[C++]
Parameters FieldName [in] FieldName is a parameter of type BSTR OutputSpatialReference [out, retval]
OutputSpatialReference is a parameter of type ISpatialReference FieldName [in] FieldName is a parameter of type BSTR OutputSpatialReference [in]
OutputSpatialReference is a parameter of type ISpatialReference
Returns the current Output SpatialReference is set to. It is important that this is set to the same SpatialReference as the input Shape's SpatialReference used as input in the IIndexQuery methods.