ArcObjects Library Reference (Location)  

ILocatorManager.GetLocatorFromDataset Method

Returns the locator attached to the dataset.

[Visual Basic .NET]
Public Function GetLocatorFromDataset ( _
    ByVal dataset As IDataset _
) As IAttachedLocator
[C#]
public IAttachedLocator GetLocatorFromDataset (
    IDataset dataset
);
[C++]
HRESULT GetLocatorFromDataset(
  IDataset* dataset,
  IAttachedLocator** AttachedLocator
);
[C++]

Parameters

dataset [in]

  dataset is a parameter of type IDataset

AttachedLocator [out, retval]

  AttachedLocator is a parameter of type IAttachedLocator

Product Availability

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

Remarks

The GetLocatorFromDataset method returns the AttachedLocator from the dataset specified by the Dataset parameter. Use the HasLocatorAttached method to determine if a dataset has an AttachedLocator.

See Also

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

.NET Related Topics

How to rematch a geocoded feature class