GetTerritoryNumber Method

The GetTerritoryNumber method returns the territory number of the specified object.

 

Syntax

object.GetTerritoryNumber ( PIDNameOfShape )

 

Parameter

Type

Description

PIDNameOfShape

String

required; PID of object

 

Example

    'GetTerritoryNumber

    'Return the territory number of the boundary with PID "08003"

    Debug.Print TerritoryMap.GetTerritoryNumber(PIDNameOfShape:="08003")

 

Used by: TerritoryMap object