but how can i write same code in VSTO