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


ILayer.Name Property (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Name Property
ArcGIS Developer Help

ILayer.Name Property

Layer name.

[Visual Basic .NET]
Public Property Name As String
[C#]
public string Name {get; set;}
[C++]
HRESULT get_Name(
  System.String* Name
);
[C++]
HRESULT put_Name(
  BSTR Name
);
[C++]
Parameters
Name [out, retval]

Name is a parameter of type BSTR* Name [in]
Name is a parameter of type BSTR

Product Availability

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

Description


 

Remarks

Use this property to associate a string with a layer.

See Also

ILayer Interface

.NET Samples

Create camera flyby from path Closest facility solver Dynamic cache layer manager controller Buffer snap agent Cut polygons without selection edit task Edit event listener Managing snap agents Custom reshape polyline edit task Custom vertex editing commands 3D dynamic element tracking Creating a toolbar of globe tools Create a geoprocessing tool to buffer a layer and retrieve messages Executing geoprocessing tools in the background Graphics layers ToolControl Location-allocation solver View CAD data in a MapControl 3D multipatch examples Multivariate renderer Add a traversal result to the map ArcGIS Network Analyst extension Engine application ArcGIS Network Analyst extension Engine application Origin-destination cost matrix solver Schematic diagram auto refresh Custom selection extension Create a custom selection extension by extending ArcObjects Service area solver Simple point plug-in data source Retrieve a color ramp from the SymbologyControl Updating the purge rule on a real-time temporal layer Temporal statistics Temporal statistics Visualizing the camera path while animating Vehicle routing problem solver