This should be simple, however I can't seem to find how you can get the alias name of a featureclass. I am going though the layers in the TOC, I think they are FeatureLayer type when you are looping, but no obvious way to find the alias.
Is there something similar for rasters too?
Is there some function like SetAliasName()
@happygis, You can set/change the alias name using the SchemaBuilder Modify method from the Pro SDK 3. x.
SchemaBuilder schemaBuilder = new SchemaBuilder(geodatabase);
FeatureClassDescription description = new FeatureClassDescription(featureClass.GetDefinition());
description.AliasName = "Your-FC-AliasName";
schemaBuilder.Modify(description);
bool status = schemaBuilder.Build();