Partilhar 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