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


IGPUtilities2.GetLayerName Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters pValue [in]
pValue is a parameter of type IGPValue* Name [in]
Name is a parameter of type BSTR

Product Availability

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

See Also

IGPUtilities2 Interface