RegionStats Count Property (.NET)

 

This property represents the total number of regions defined in your regions.properties file. This is also the total number of times an enumerated RegionStats object will return statistical data for.

Syntax:

 count = chRegionStatsObj.Count

Returns:

Returns the total number of regions defined in your regions.properties file.

VB.NET Example:

 

dim regStats as new RegionStats()

Response.Write("Stats are available for " + regStats.Count.ToString())

Response.Write(" different regions.")

C# Example:

 

RegionStats regStats = new RegionStats();

Response.Write("Stats are available for " + regStats.Count.ToString());

Response.Write(" different regions.");

Note: This property is only available in the Enterprise Edition of CountryHawk.

Note: This property is read-only.