Share via


ObjectBuilderFromLocalized delegate

A delegate that creates an object from a localized value to an object, based on a row and fieldKey.

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

Syntax

'Declaration
Public Delegate Function ObjectBuilderFromLocalized ( _
    row As DataRow, _
    fieldKey As String, _
    localizedValue As String, _
    <OutAttribute> ByRef createdObject As Object _
) As Boolean
'Usage
Dim instance As New ObjectBuilderFromLocalized(AddressOf HandlerMethod)
public delegate bool ObjectBuilderFromLocalized(
    DataRow row,
    string fieldKey,
    string localizedValue,
    out Object createdObject
)

Parameters

  • fieldKey
    Type: System.String

    Identifies which field contains the data to localize.

  • createdObject
    Type: System.Object

    The localized Object that corresponds to the localized value.

Return value

Type: System.Boolean
true if localization succeeded; otherwise false.

Remarks

This delegate accepts a string with a localized value in it, such as "$4.50". It returns an Object that represents that value, such as a floating point number with the value 4.5.

Takes the object to be built as a reference parameter of type System.Object.

See also

Reference

Microsoft.SharePoint.JSGrid namespace