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
row
Type: System.Data.DataRowThe row that contains the data to localize.
fieldKey
Type: System.StringIdentifies which field contains the data to localize.
localizedValue
Type: System.StringThe localized value.
createdObject
Type: System.ObjectThe 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.