BaseXsltListWebPart.FillInFieldsDictionary Method
Adds the SPField and any referenced fields to the fieldsDictionary and computerdFieldsDictionary.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Protected Sub FillInFieldsDictionary ( _
fieldsDictionary As Dictionary(Of String, Integer), _
computerdFieldsDictionary As Dictionary(Of String, Boolean), _
field As SPField, _
flag As Integer _
)
'Usage
Dim fieldsDictionary As Dictionary(Of String, Integer)
Dim computerdFieldsDictionary As Dictionary(Of String, Boolean)
Dim field As SPField
Dim flag As Integer
Me.FillInFieldsDictionary(fieldsDictionary, _
computerdFieldsDictionary, field, _
flag)
protected void FillInFieldsDictionary(
Dictionary<string, int> fieldsDictionary,
Dictionary<string, bool> computerdFieldsDictionary,
SPField field,
int flag
)
Parameters
fieldsDictionary
Type: System.Collections.Generic.Dictionary<String, Int32>The dictionary that stores the internal name of the SPField if it is not Computed.
computerdFieldsDictionary
Type: System.Collections.Generic.Dictionary<String, Boolean>The dictionary that stores the internal names of fields whose type is Computed.
field
Type: Microsoft.SharePoint.SPFieldThe SPField to add to the fieldsDictionary and computerdFieldsDictionary.
flag
Type: System.Int32A flag that indicates the field type for the current query.
Remarks
There are three field types for the FieldRef: “NORMAL”, “TEXTFIELD”, and “DATETIMEORIGINAL”.