ArcObjects Library Reference (DataSourcesNetCDF)  

INetCDFWorkspace.GetSpatialReference Method

The spatial reference for a variable.

[Visual Basic .NET]
Public Function GetSpatialReference ( _
    ByVal varName As String, _
    ByVal xDim As String, _
    ByVal yDim As String _
) As ISpatialReference
[C#]
public ISpatialReference GetSpatialReference (
    string varName,
    string xDim,
    string yDim
);
[C++]
HRESULT GetSpatialReference(
  BSTR varName,
  BSTR xDim,
  BSTR yDim,
  ISpatialReference** ppSpatRef
);
[C++]

Parameters

varName [in]   varName is a parameter of type BSTR xDim [in]   xDim is a parameter of type BSTR yDim [in]   yDim is a parameter of type BSTR ppSpatRef [out, retval]

  ppSpatRef is a parameter of type ISpatialReference

Product Availability

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

See Also

INetCDFWorkspace Interface