AE怎么修改Alianame,这个属性是只读的

AE怎么修改Alianame,这个属性是只读的   FeatureClass 类实现了 IClassSchemaEdit  接口。IClassSchemaEdit 接口中有个 AlterAliasName 方法,可以更改别名。 这个属性不是只读的,注意更改别名是没有有其他程序在使用你的featureclass. IClassSchemaEdit   接口说明及备注: http://edndoc.esri.com/arcobjects/9.2/componenthelp/esriGeodatabase/IClassSchemaEdit.htm When using the IClassSchemaEdit object to alter an object class' class schema, you should first acquire an exclusive schema lock using the ISchemaLock interface to be sure that another application or user does not have the class open while you are trying to modify its schema. 我用python+ae做过更改别名的程序,但未用C#做过,还是9.3版本的,希望对你有帮助!
原文地址:https://www.cnblogs.com/adodo1/p/4327943.html