CategoryCollection 类
类对象的集合。
继承层次结构
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.CategoryCollection
命名空间: Microsoft.TeamFoundation.WorkItemTracking.Client
程序集: Microsoft.TeamFoundation.WorkItemTracking.Client(在 Microsoft.TeamFoundation.WorkItemTracking.Client.dll 中)
语法
声明
Public NotInheritable Class CategoryCollection _
Implements IEnumerable(Of Category), IEnumerable
public sealed class CategoryCollection : IEnumerable<Category>,
IEnumerable
CategoryCollection 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取分类对象数此集合中。 |
![]() |
Item[Int32] | 获取分类对象在此集合中指定索引处。 |
![]() |
Item[String] | 获取在具有指定名称的此集合的类别。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Contains | 检查此集合是否包含具有指定名称的类别。 |
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
Export | 对XML格式的导出整个集合文档。 |
![]() |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
Import(Stream) | 导入流中指定的类别。 |
![]() |
Import(String) | 从指定的XML格式的字符串导入类别。 |
![]() |
Import(XmlElement) | 从指定的XML的导入类别文档。 |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
事件
名称 | 说明 | |
---|---|---|
![]() |
ImportEventHandler | 在导入过程中,发生的事件的事件处理程序。 |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
IEnumerable<Category>.GetEnumerator | 获取此集合的枚举器。 |
![]() ![]() |
IEnumerable.GetEnumerator | 获取此集合的枚举器。 |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。