AddAttribute

XmpElementBase.AddAttribute method

public virtual void AddAttribute(string attribute, string value)

也可以看看