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


IQueryFilter.OutputSpatialReference Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IQueryFilter.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.

See Also

IQueryFilter Interface

.NET Samples

Create camera flyby from path (Code Files: frmCameraPath)