QueryBasedCollection<T>.EnsureItemIsUnique Method
Verifies 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.SPListItemThe SPListItem object to be verified.
Return Value
Type: T
An object of the specified type.