Gives back the names of the datums available for use with ConvertLocation and GetDatumEllipsoid.
[Visual Basic .NET]
Public Function GetDatumList ( _
) As String[]
[C#]
public String[] GetDatumList (
);
[C++]
HRESULT GetDatumList(
Datums* Datums
);
[C++]Parameters
Datums [out, retval] Datums is a parameter of type
Product Availability
Available with ArcGIS Engine and ArcGIS Desktop.
Description
This method returns a string array of the names of the datums
that can be used with the vFromDatum and vToDatum parameters on the
ICoordinateTool::ConvertLocation method, and the vDatum parameter
on the ICoordinateTool::GetDatumEllipsoid method. It can either be
used to return the datum name at a specified index, or to return
all of the datums by looping through the list.
Remarks
The following VB snippet returns the datum name string "American Samoa 1962 (AMA)".
Dim pCoord As
ICoordinateTool
Dim sDatums() As String
Set pCoord = New
CoordinateTool
sDatums = pCoord.GetDatumList
Debug.Print sDatums(12)