protected override object NewAttribute(NewCodeElementItemParams p, string path, object newItemValue)
        {
            var value = null == newItemValue ? null : newItemValue.ToString();

            return(_interface.AddAttribute(path,
                                           value,
                                           p.Position.ToDTEParameter()));
        }
Exemple #2
0
 public ShellCodeAttribute AddAttribute(string Name, string Value, object Position)
 {
     return(new ShellCodeAttribute(_codeInterface.AddAttribute(Name, Value, Position) as CodeAttribute2));
 }