ArcGIS Pro 3.0 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 sealed class LocatorsConnectionProjectItem : ArcGIS.Desktop.Internal.Catalog.ProjectItemInfoCrawl, ArcGIS.Desktop.Core.IMetadata, ArcGIS.Desktop.Core.IProjectItem, System.ComponentModel.INotifyPropertyChanged  
    Public NotInheritable Class LocatorsConnectionProjectItem 
       Inherits ArcGIS.Desktop.Internal.Catalog.ProjectItemInfoCrawl
       Implements 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, Windows 8.1

    See Also