Assuming we have a ILayer object, I'm looking for how to get the layer description. I mean the description text of the layer properties:

300
1
08-10-2020 11:37 PM
SaraKarami
New Contributor

Assuming we have a ILayer object, I'm looking for how to get the layer description.  I mean the description text of the layer properties:

0 Kudos
1 Reply
GKmieliauskas
Esri Regular Contributor

Hi Sara,

You can use ILayerGeneralProperties by casting from ILayer type object. More info here:

https://desktop.arcgis.com/en/arcobjects/latest/net/webframe.htm#ILayerGeneralProperties.htm