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


ILocatorManager.HasLocatorAttached Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IL > ILocatorManager Interface > ILocatorManager.HasLocatorAttached Method
ArcGIS Developer Help

ILocatorManager.HasLocatorAttached Method

Indicates if a dataset has an attached locator.

[Visual Basic .NET]
Public Function HasLocatorAttached ( _
    ByVal datasetName As IDatasetName _
) As Boolean
[C#]
public bool HasLocatorAttached (
    IDatasetName datasetName
);
[C++]
HRESULT HasLocatorAttached(
  IDatasetName* datasetName
);
[C++]
Parameters
datasetName [in]

datasetName is a parameter of type IDatasetName*

Product Availability

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

Remarks

The HasLocatorAttached method indicates if the dataset specified by the DatasetName parameter has an AttachedLocator. A dataset usually has an AttachedLocator if it was created using a locator.

See Also

ILocatorManager Interface | ILocatorAttach2 Interface | ILocatorAttach2.AttachLocator Method | ILocatorManager.HasLocatorAttached Method | ILocatorManager.GetLocatorFromDataset Method | ILocatorManager Interface | ILocatorManager2 Interface | IAttachedLocator Interface | ILocatorManager.HasLocatorAttached Method | AttachedLocator Class | ILocatorManager.GetLocatorFromDataset Method