A series of new ylide compounds of N-imidation of aromatic nitrigen heterocycles were synthesized when use aromatic nitrogen heterocycles and N-(p-nitrophenylsulfonyl)iminophenyliodinane as starting materias,and 0.5mol% Ruthenium(Ⅱ)porphyron as catalyst.These reactions can be finished on moderate condition and have higher yield.