QueryBasedCollection<T>.EnsureItemIsUnique Method
Used to verify whether the current item has already been retrieved.
Namespace: Microsoft.SharePoint.Publishing
Assembly: Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)
Syntax
'Declaration
Protected Function EnsureItemIsUnique ( _
item As SPListItem _
) As T
'Usage
Dim item As SPListItem
Dim returnValue As T
returnValue = Me.EnsureItemIsUnique(item)
protected T EnsureItemIsUnique(
SPListItem item
)
Parameters
- item
Type: Microsoft.SharePoint.SPListItem
Return Value
Type: T