继承层次结构
System.Object
Microsoft.VisualStudio.GraphModel.GraphCategoryCollection
命名空间: Microsoft.VisualStudio.GraphModel
程序集: Microsoft.VisualStudio.GraphModel(在 Microsoft.VisualStudio.GraphModel.dll 中)
语法
声明
Public Class GraphCategoryCollection _
Implements ICollection(Of GraphCategory), IEnumerable(Of GraphCategory), _
IEnumerable
public class GraphCategoryCollection : ICollection<GraphCategory>,
IEnumerable<GraphCategory>, IEnumerable
public ref class GraphCategoryCollection : ICollection<GraphCategory^>,
IEnumerable<GraphCategory^>, IEnumerable
type GraphCategoryCollection =
class
interface ICollection<GraphCategory>
interface IEnumerable<GraphCategory>
interface IEnumerable
end
public class GraphCategoryCollection implements ICollection<GraphCategory>, IEnumerable<GraphCategory>, IEnumerable
GraphCategoryCollection 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
![]() |
GraphCategoryCollection |
页首
属性
名称 | 说明 | |
---|---|---|
![]() |
Count | 获取包含在集合中元素的数目。 |
![]() |
IsReadOnly | 获取一个值,该值指示集合是否为只读。 |
![]() |
Schema |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
Add | 向集合中添加一项。 |
![]() |
AddNewCategory(String) | 用默认元数据创建器注册新 GraphCategory。 |
![]() |
AddNewCategory(String, GraphMetadata}) | |
![]() |
Clear | 从集合中移除所有项。 |
![]() |
Contains | 确定该集合是否包含特定值。 |
![]() |
Copy | 复制从集合的GraphCategories到另一个。这在源图包括将元数据传递到目标图。 |
![]() |
CopyTo | 从特定的 System.Array 索引开始,将集合的元素复制到一个 System.Array 中 |
![]() |
Equals | 确定指定的对象是否等于当前对象。 (继承自 Object。) |
![]() |
Finalize | 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。) |
![]() |
GetCategoriesBasedOn | 获取基于指定的基类所有类别的枚举。 |
![]() |
GetEnumerator | 返回关系图类别的枚举数。 |
![]() |
GetHashCode | 用作特定类型的哈希函数。 (继承自 Object。) |
![]() |
GetType | 获取当前实例的 Type。 (继承自 Object。) |
![]() |
MemberwiseClone | 创建当前 Object 的浅表副本。 (继承自 Object。) |
![]() |
Remove | 从集合中移除特定对象的第一个匹配项。 |
![]() |
ToString | 返回表示当前对象的字符串。 (继承自 Object。) |
页首
显式接口实现
名称 | 说明 | |
---|---|---|
![]() ![]() |
IEnumerable<GraphCategory>.GetEnumerator |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。