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


IDEUtilities.GetNameObjectFromLocation Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geoprocessing)  

IDEUtilities.GetNameObjectFromLocation Method

Gets the name object from a catalog path.

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

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

Product Availability

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

See Also

IDEUtilities Interface