Locators in the locator workspace.
[Visual Basic 6.0] Property Locators(
ByVal queryType As esriLocatorQuery, _
ByVal Category As String _
) As IEnumLocator
[Visual Basic .NET] Public Function get_Locators ( _ ByVal queryType As esriLocatorQuery, _ ByVal Category As String _ ) As IEnumLocator
[C#] public IEnumLocator get_Locators ( esriLocatorQuery queryType, string Category );
[Java] public IEnumLocator getLocators ( esriLocatorQuery queryType, String Category )
[C++] HRESULT get_Locators( esriLocatorQuery queryType, BSTR Category, IEnumLocator** enumLocators );
Parameters
queryType [in]
queryType is a parameter of type esriLocatorQuery
Category [in]
Category is a parameter of type BSTR
enumLocators [out, retval]
enumLocators is a parameter of type IEnumLocator
The Locators property returns a LocatorEnumerator containing locators from the locator workspace.
Use the queryType parameter to specify whether to include locators, locator styles, or both in the LocatorEnumerator.
Use the Category parameter to specify which category of locators and locator styles to include in the LocatorEnumerator. 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.
ILocatorWorkspace Interface | ILocatorWorkspace.LocatorNames Property | ILocatorName.Category Property | ILocatorWorkspace.Locators Property | ILocatorWorkspace.LocatorNames Property | ILocatorWorkspace.Locators Property | esriLocatorQuery Constants