PIDName Property

 

The PIDName property returns or sets the primary ID of an object. Returns a string.

 

Syntax

object.PIDName

object.PIDName = Name

 

Parameter

Type

Description

Name

String

required; primary ID name

 

Example 1

This example returns the primary ID for an area.

 

Debug.Print Area.PIDName

 

Example 2

This example sets the primary ID for an area to "Eastern Region."

 

Area.PIDName = "Eastern Region"

 

Used by: Shape object