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


IGPUtilities.GetNameObjectFromLocation Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPUtilities.GetNameObjectFromLocation Method

Returns a name object corresponding to the object by the location moniker.

[Visual Basic .NET]
Public Function GetNameObjectFromLocation ( _
    ByVal locationMoniker As String _
) As IName
[C#]
public IName GetNameObjectFromLocation (
    string locationMoniker
);
[C++]
HRESULT GetNameObjectFromLocation(
  BSTR locationMoniker
);
[C++]

Parameters locationMoniker [in]
locationMoniker is a parameter of type BSTR

Product Availability

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

See Also

IGPUtilities Interface