This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Location > ESRI.ArcGIS.Location > Interfaces > IL > ILocatorManager Interface > ILocatorManager.GetLocatorFromDataset Method (ArcObjects .NET 10.5 SDK) |
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
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.
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