ArcObjects Library Reference (Carto)  

IFeatureIndex2.OutputSpatialReference Property

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

Product Availability

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

Description

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.

See Also

IFeatureIndex2 Interface