DataSource.Description Property
The descriptive name of the data source. String.
Public Dim Description As String
Member of [Namespace].DataSource
[C#]
public System.String Description
Member of [Namespace].DataSource
Remarks
- For example, "Base map of the World that supports rendering maps and finding places. Includes 19 map styles and over 140 geographic entity types, and data is available in eight languages." is the description of the MapPoint.World data source.
Example
[Visual Basic]
'This example assumes that the service instance
''commonService' has already been created and that
'the MapPoint Web Service namespace has been imported
'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#]
//This example assumes that the service instance
//'commonService' has already been created and that
//the MapPoint Web Service namespace has been imported
//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