Location.PropertyPathWithNames

Syntax

Location.PropertyPathWithNames

Data Type

String

Purpose

Specifies the lookup string for this location. The lookup string includes names instead of a numeric index for elements of object arrays if the name is not empty.

Remarks

The name of an object element in an array is not guaranteed to be unique within the array. Do not use this property with methods that have a lookup string parameter, such as the PropertyObject.GetPropertyObject method and the PropertyObject.Exists method. Use the Location.PropertyPath property if you want an unambiguous lookup string.

For a file location, this property is relative to the file the Location.FileId and the Location.FilePath properties specify. For an execution location, this property is relative to the sequence context the Location.ContextId property specifies. For a type location, this property is relative to the type the Location.TypeName property specifies. For a workspace file location, this property is relative to the WorkspaceObject the WorkspaceFile.RootWorkspaceObject property returns.

See Also

Location.ContextId

Location.FileId

Location.FilePath

Location.Kind

Location.PropertyPath

Location.TypeName

PropertyObject.Exists

PropertyObject.GetPropertyObject

WorkspaceFile.RootWorkspaceObject