and the pattern of Ag enrichment originates from the columnar-porous structure of the as-deposited film that is to some extent preserved in the electrolyte after photodoping. Type-II regions have lower Ag content, are typically 10-20 nm across, and appear to conform to the usual description of the photoreaction products of the opticallyinduced dissolution and diffusion of silver in a thin-film chalcogenide. The microstructure, with two types of region and aligned nanocolumns, is present in the electrolyte after photodoping without any applied bias, and is important for understanding switching mechanisms, and writing and erasing cycles, in programmable-metallization-cell memory.