GraphPropertyCollection.Contains(GraphProperty) 方法

定义

确定集合是否包含特定值

public:
 virtual bool Contains(Microsoft::VisualStudio::GraphModel::GraphProperty ^ item);
public bool Contains (Microsoft.VisualStudio.GraphModel.GraphProperty item);
abstract member Contains : Microsoft.VisualStudio.GraphModel.GraphProperty -> bool
override this.Contains : Microsoft.VisualStudio.GraphModel.GraphProperty -> bool
Public Function Contains (item As GraphProperty) As Boolean

参数

item
GraphProperty

要搜索的项。

返回

Boolean

如果在集合中找到该项,则为 True; 否则为 false。

实现

适用于