Share via


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

Return value

Type: T
An object of the specified type.

See also

Reference

QueryBasedCollection<T> class

QueryBasedCollection<T> members

Microsoft.SharePoint.Publishing namespace