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