Share via


SPSimpleItem.ToHashtable method

Creates an indexed table for efficient lookup of the value of the specified field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function ToHashtable As Hashtable
'Usage
Dim instance As SPSimpleItem
Dim returnValue As Hashtable

returnValue = instance.ToHashtable()
public Hashtable ToHashtable()

Return value

Type: System.Collections.Hashtable
An indexed table that contains the values of the fields that are associated with the SPSimpleItem object.

Remarks

This method creates a HashTable for the values of the fields associated with the SPSimpleItem object to enhance the lookup efficiency.

See also

Reference

SPSimpleItem class

SPSimpleItem members

Microsoft.SharePoint namespace