Share via


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

Return Value

Type: T

See Also

Reference

QueryBasedCollection<T> Class

QueryBasedCollection<T> Members

Microsoft.SharePoint.Publishing Namespace