Share via


DataSource.EntityExtent Property

DataSource.EntityExtent Property

The geographic coverage (extent) of a data source as an array of country/region entity IDs. This property is read-only.


Public EntityExtent As System.Integer()



[C#]

public System.Int32[] EntityExtent;

Remarks

Example

[Visual Basic]

'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#]

//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