This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayer Interface > ILayer.Name Property (ArcObjects .NET 10.4 SDK) |
Layer name.
[Visual Basic .NET] Public Property Name As String
[C#] public string Name {get; set;}
[C++]
HRESULT get_Name(
BSTR* 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
Use this property to associate a string with a layer.