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