DataSource.Name Property
DataSource.Name Property
The name of the data source. For example, the data source that contains the world map is named "MapPoint.World".
Public Name As System.String
[C#]
public System.String Name;
Example
[Visual Basic]
'Write out each available data source and corresponding description
Dim myDataSources() As DataSource
myDataSources = commonService.GetDataSourceInfo(Nothing)
Dim ds As DataSource
For Each ds In myDataSources
Console.WriteLine(ds.Name + ": " + ds.Description)
Next
[C#]
//Write out each available data source and corresponding description
DataSource[] myDataSources;
myDataSources = commonService.GetDataSourceInfo(null);
foreach(DataSource ds in myDataSources)
{
Console.WriteLine(ds.Name + ": " + ds.Description);
}
See Also
DataSource Class | MapPoint Web Service Data Sources and Capabilities