SPUserCodePropertyCollection.Contains Method
Indicates whether the specific SPUserCodeProperty is in the collection.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
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
userCodeProperty
Type: Microsoft.SharePoint.WebPartPages.SPUserCodePropertyThe property object to locate in the collection.
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