private void FunctionComment() { EnvDTE.TextSelection textSelection = (EnvDTE.TextSelection)_applicationObject.ActiveWindow.Selection; textSelection.StartOfDocument(); textSelection.Insert("// *"); textSelection.NewLine(); textSelection.Insert("// * @author 모바일 기술팀 "); textSelection.Insert(System.Environment.UserName); textSelection.NewLine(); textSelection.Insert("// * @date "); textSelection.Insert(System.DateTime.Now.ToLongDateString()); textSelection.Insert(" "); textSelection.Insert(System.DateTime.Now.ToLongTimeString()); textSelection.NewLine(); textSelection.Insert("// *"); textSelection.NewLine(); textSelection.NewLine(); }