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


IGPUtilities.GetNameObjectFromLocation Method (ArcObjects .NET 10.5 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,
  IName** ppName
);
[C++]

Parameters locationMoniker [in] locationMoniker is a parameter of type BSTR ppName [out, retval]
ppName is a parameter of type IName

Product Availability

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

See Also

IGPUtilities Interface