Without directly disagreeing with the previous poster. My answer would be no and yes. They are somewhat different animals current in a DC solenoid is for the most part controlled by electrical resistance of the coil. The current of an AC solenoid is controlled by not only coil resistance, but also inductive reactance i.e. impedance. I believe I used to have a reference around here someplace, That is probably long gone, but I believe you can use an AC solenoid with a higher voltage coil than the DC solenoid. You are replacing or you can add resistance to the circuit , otherwise the coil will quickly fry.
So my answer would be yes it could be done, but you're going to have to add resistance or go to solenoid with a higher voltage AC coil, without any other information (such as the current rating of the coil),It would either be trial and error (smoke test) or find a cross-reference. The question I must now ask is why?
__________________
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man" George Shaw
I have use Aro 12 volt DC air solenoids for years. I do believe their catalog lists the 12 volt DC coil as being able to be used in a 24 volt AC application also. My question would be why would you want to use an AC solenoid on a vehicle?
That is also my question, I was hoping the person that originally posted the question would provide some additional information, as to the reasons. Unfortunately it does not look like that is going to happen.
From your experience with a 12 V solenoid and my relationship with that great mouse in the sky I see no reason it couldn't be done, however the only reason I can see to do it is either out of absolute necessity, or the fact that you have sufficient knowledge and the parts lying around to accomplish it.
I've never had occasion to use a different than rated power source in a permanent installation. I have out of necessity powered a 24 V AC solenoid with a 12 V DC battery pack from a drill motor so I could evacuate a line set before I had control power, it was that or go down 4 stories and get a transformer out of the truck.
I admit to being thoroughly demented by watching Star Trek in my childhood, Scotty always had something else to try even if it didn't work every time.
The downside of this cross circuiting to B approach is sometimes an unexpected and rather spectacular successful failure. I have flooded large sections of a 16 story building testing pumps (occupied building), accidentally disconnected utility power and the backup generator and come within 10 minutes of completely draining the batteries at a phone company installation.this would have disrupted phone service to a large city, and military switchgear, which undoubtedly would have been frowned on since the Gulf War was going on.
I conclusively proved that Murphy was an optimist, a 2500 amp main circuit breaker will prevent a 30 amp breaker in a subpanel from tripping by blowing first. The sound of 25 air conditioning unit shutting down simultaneously is somewhat unforgettable, but nothing compared to the screams when four floors worth of computers crash.
__________________
"The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore all progress depends on the unreasonable man" George Shaw