包含

ITagCollection.Contains 方法

确定集合是否包含特定名称。

public bool Contains(string name)
参数类型描述
nameString需要查找的键。

返回值

如果集合包含具有指定键的标签,则为真;否则为假。

另见