SPUserCodePropertyCollection.Contains method

Indicates whether the specific SPUserCodeProperty is in the collection.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Contains ( _
    userCodeProperty As SPUserCodeProperty _
) As Boolean
'Usage
Dim instance As SPUserCodePropertyCollection
Dim userCodeProperty As SPUserCodeProperty
Dim returnValue As Boolean

returnValue = instance.Contains(userCodeProperty)
public bool Contains(
    SPUserCodeProperty userCodeProperty
)

Parameters

Return value

Type: System.Boolean
true if the property object is found in the collection; otherwise, false.

Remarks

This method indicates whether the SPUserCodeProperty is in the collection.

See also

Reference

SPUserCodePropertyCollection class

SPUserCodePropertyCollection members

Microsoft.SharePoint.WebPartPages namespace