Add

ITagCollection.Add method

向集合添加新标签。

public int Add(string name, string value)
范围类型描述
nameString标签的名称。
valueString标签的值。

返回值

添加标签的索引。

也可以看看