ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Catalog Namespace / LocatorsConnectionProjectItem Class
Members Example Version

LocatorsConnectionProjectItem Class
Represents a locator connection project item.
Object Model
LocatorsConnectionProjectItem ClassTimeInstant Class
Syntax
public sealed class LocatorsConnectionProjectItem : ArcGIS.Desktop.Internal.Catalog.ProjectItemInfoCrawl, ArcGIS.Desktop.Core.IMetadata, ArcGIS.Desktop.Core.IProjectItem, System.ComponentModel.INotifyPropertyChanged  
Remarks

A locator connection project item is a file-based locator or a geocoding service that has been added to the current project.

Example
Get LocatorConnectionProjectItems
/// Get all the locator connections in a project
IEnumerable<LocatorsConnectionProjectItem> projectLocators = Project.Current.GetItems<LocatorsConnectionProjectItem>();
Inheritance Hierarchy

System.Object
   ArcGIS.Desktop.Framework.Contracts.PropertyChangedBase
      ArcGIS.Desktop.Core.Item
                  ArcGIS.Desktop.Catalog.LocatorsConnectionProjectItem

Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also