Condividi tramite


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

  • flag
    Type: System.Int32

    A flag that indicates the field type for the current query.

Remarks

There are three field types for the FieldRef: “NORMAL”, “TEXTFIELD”, and “DATETIMEORIGINAL”.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace