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


IGPUtilities2.GetLayerName Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.GetLayerName Method
ArcGIS Developer Help

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