DataSource.EntityExtent Property

The geographic extent of the data source as an array of country or region entity IDs. Integer[]. Read-only.

Public Dim EntityExtent As Integer()
    Member of [Namespace].DataSource

[C#]
public int[] EntityExtent
    Member of [Namespace].DataSource

Remarks

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 the MapPoint.NA data source entity extent values
Dim dsNames(0) As String
dsNames(0) = "MapPoint.NA"
Dim myDataSources() As DataSource
myDataSources = commonService.GetDataSourceInfo(dsNames)
Dim entityID As Integer
For Each entityID In myDataSources(0).EntityExtent
    Console.WriteLine(entityID.ToString())
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 the MapPoint.NA data source entity extent values
string[] dsNames = new String[1];
dsNames[0] = "MapPoint.NA";
DataSource[] myDataSources;
myDataSources = commonService.GetDataSourceInfo(dsNames);
foreach(int entityID in myDataSources[0].EntityExtent) 
{
    Console.WriteLine(entityID.ToString());
}

 

See Also

DataSource Class | CommonServiceSoap.GetCountryRegionInfo Method | CountryRegion Entity IDs