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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.