As described above, for example, by changing the condition such as the composition or concentration of the electrolyte, an element in the solution can be incorporated in the film, or the morphology such as porosity or pore size of the film can be changed.