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

In This Topic
    LocatorsConnectionProjectItem Class
    In This Topic
    Represents a locator connection project item.
    Object Model
    LocatorsConnectionProjectItem ClassTimeInstant Class
    Syntax
    Public NotInheritable Class LocatorsConnectionProjectItem 
       Inherits ArcGIS.Desktop.Internal.Catalog.ProjectItemInfoCrawl
       Implements ArcGIS.Desktop.Core.IMetadata, ArcGIS.Desktop.Core.IProjectItem, System.ComponentModel.INotifyPropertyChanged 
    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>();
      // use projectLocators;
    }
    Inheritance Hierarchy

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

    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also