This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesNetCDF > ESRI.ArcGIS.DataSourcesNetCDF > Interfaces > IN > INetCDFWorkspace Interface > INetCDFWorkspace.GetSpatialReference Method (ArcObjects .NET 10.5 SDK) |
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