This document is archived and information here might be outdated.  Recommended version.

ILocatorWorkspace.LocatorNames Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IL > ILocatorWorkspace Interface > ILocatorWorkspace.LocatorNames Property
ArcGIS Developer Help

ILocatorWorkspace.LocatorNames Property

LocatorName objects in the locator workspace.

[Visual Basic .NET]
Public Function get_LocatorNames ( _
    ByVal queryType As esriLocatorQuery, _
    ByVal Category As String _
) As IEnumLocatorName
public IEnumLocatorName get_LocatorNames (
    esriLocatorQuery queryType,
    string Category
HRESULT get_LocatorNames(
  esriLocatorQuery queryType,
  BSTR Category,
  IEnumLocatorName** enumLocatorNames
queryType [in]

queryType is a parameter of type esriLocatorQuery Category [in]
Category is a parameter of type BSTR enumLocatorNames [out, retval]
enumLocatorNames is a parameter of type IEnumLocatorName**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


The LocatorNames property returns a LocatorNameEnumerator containing LocatorName objects representing locators in the locator workspace.

Use the queryType parameter to specify whether to include locators, locator styles, or both in the LocatorNameEnumerator.

Use the Category parameter to specify which category of locators and locator styles to include in the LocatorNameEnumerator. Address locators and address locator styles provided with ArcGIS all have a category of "Address". Specify an empty string for the Category parameter if you want to include locators or locator styles from all categories.

See Also

ILocatorWorkspace Interface | ILocatorWorkspace.LocatorNames Property | ILocatorWorkspace.Locators Property | ILocatorName.Category Property | ILocatorWorkspace.LocatorNames Property | esriLocatorQuery Constants | ILocatorWorkspace.Locators Property