Export (0) Print
Expand All
Expand Minimize

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)

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

Parameters

row
Type: System.Data.DataRow

The row that contains the data to localize.

fieldKey
Type: System.String

Identifies which field contains the data to localize.

localizedValue
Type: System.String

The localized value.

createdObject
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.

Show:
© 2014 Microsoft