PropertyCollection.Contains 方法
會指出指定的屬性是否包含在集合中。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Function Contains ( _
property As Property _
) As Boolean
'用途
Dim instance As PropertyCollection
Dim property As [Property]
Dim returnValue As Boolean
returnValue = instance.Contains(property)
public bool Contains(
Property property
)
參數
property
類型:Microsoft.Office.Project.Server.Library.Property要尋找的屬性。
傳回值
類型:System.Boolean
True如果集合中含有指定的屬性 ;否則,請false。