Rotate sketch with c#

Hi all,

How can I rotate sketch solidworks follow the X axis,Y axis or Z axis with c#. I'm tried

RunCommand -> swCommands_Rotate_Xaxis_By90 but not works like I expected.

Best Regards.

SolidworksSketching