ObjectBuilderFromLocalized delegate

SharePoint 2013

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)

public delegate bool ObjectBuilderFromLocalized(
	DataRow row,
	string fieldKey,
	string localizedValue,
	out Object createdObject


Type: System.Data.DataRow

The row that contains the data to localize.

Type: System.String

Identifies which field contains the data to localize.

Type: System.String

The localized value.

Type: System.Object

The localized Object that corresponds to the localized value.

Return value

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

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.