다음을 통해 공유


GridSerializer.LocalizeField Method

Uses the grid’s process (including calling out to the GridField) to localize a data value in a given cell. Useful for populating grouping rows.

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

Syntax

'Declaration
Public Function LocalizeField ( _
    dr As DataRow, _
    field As GridField, _
    dataValue As Object _
) As String
'Usage
Dim instance As GridSerializer
Dim dr As DataRow
Dim field As GridField
Dim dataValue As Object
Dim returnValue As String

returnValue = instance.LocalizeField(dr, _
    field, dataValue)
public string LocalizeField(
    DataRow dr,
    GridField field,
    Object dataValue
)

Parameters

  • dataValue
    Type: System.Object

    The data representation of the value to localize.

Return Value

Type: System.String
A String indicating the localized value.

See Also

Reference

GridSerializer Class

GridSerializer Members

Microsoft.SharePoint.JSGrid Namespace