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())); }
public ShellCodeAttribute AddAttribute(string Name, string Value, object Position) { return(new ShellCodeAttribute(_codeInterface.AddAttribute(Name, Value, Position) as CodeAttribute2)); }