How to retain the field used for conversion from a shape to raster?

Discussion created by klaim on Jul 1, 2010
Hi all, I'm converting polygon feature to raster using IConversionOp.ToRasterDataset method. The conversion went well expect the issue that the field i.e. NAME used for conversion was not included in the attribute table of the new raster. The type of the field is text representing names. After conversion, there are only VALUE and COUNT fields in the raster attribute table whereas the name texts were converted to numeric values as 0,1,2,... in the VALUE field. However I'm expecting that besides the two fields, there should be another field called NAME in the raster retain the name texts. When I performed this task in arctoolbox, the field NAME was retained. Did I missed any process?