ArcObjects Library Reference  (Location)    

ILocatorManager.HasLocatorAttached Method

Indicates if a dataset has an attached locator.

[Visual Basic 6.0]
Function HasLocatorAttached(
    ByVal datasetName As IDatasetName _
) As Boolean
[Visual Basic .NET]
Public Function HasLocatorAttached ( _
    ByVal datasetName As IDatasetName _
) As Boolean
[C#]
public bool HasLocatorAttached (
    IDatasetName datasetName
);
[Java]
public Boolean hasLocatorAttached (
    IDatasetName datasetName
)
throws
    IOException,
    AutomationException
[C++]
HRESULT HasLocatorAttached(
  IDatasetName* datasetName,
  VARIANT_BOOL* bHasLocatorAttached
);
[C++]

Parameters

datasetName [in]

  datasetName is a parameter of type IDatasetName

bHasLocatorAttached [out, retval]

  bHasLocatorAttached is a parameter of type VARIANT_BOOL

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.AttachLocator Method | ILocatorAttach2 Interface | ILocatorManager.HasLocatorAttached Method | ILocatorManager.GetLocatorFromDataset Method | ILocatorManager.HasLocatorAttached Method | AttachedLocator Class | ILocatorManager2 Interface | ILocatorManager Interface | ILocatorManager.GetLocatorFromDataset Method | IAttachedLocator Interface

Example

RematchTable_Example