ArcObjects Library Reference (Geoprocessing)  

IGPUtilities2.GetLayerName Method

Get default layer name for given value.

[Visual Basic .NET]
Public Function GetLayerName ( _
    ByVal pValue As IGPValue, _
    ByVal Name As String _
) As String
[C#]
public string GetLayerName (
    IGPValue pValue,
    string Name
);
[C++]
HRESULT GetLayerName(
  IGPValue* pValue,
  BSTR Name,
  BSTR* pName
);
[C++]

Parameters

pValue [in]

  pValue is a parameter of type IGPValue

Name [in]   Name is a parameter of type BSTR pName [out, retval]   pName is a parameter of type BSTR

Product Availability

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

See Also

IGPUtilities2 Interface