ReaderConvertValue Method |
Converts the string value according to the column definition.
Namespace:
Dundas.BI.Data.DataProviders
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax protected Object ConvertValue(
string originalValue,
IDataElement dataElement,
IFormatProvider formatProvider,
string dataWarningSource
)
Protected Function ConvertValue (
originalValue As String,
dataElement As IDataElement,
formatProvider As IFormatProvider,
dataWarningSource As String
) As Object
protected:
Object^ ConvertValue(
String^ originalValue,
IDataElement^ dataElement,
IFormatProvider^ formatProvider,
String^ dataWarningSource
)
member ConvertValue :
originalValue : string *
dataElement : IDataElement *
formatProvider : IFormatProvider *
dataWarningSource : string -> Object
Parameters
- originalValue
- Type: SystemString
The string value. - dataElement
- Type: Dundas.BI.Data.MetadataIDataElement
The column definition. - formatProvider
- Type: SystemIFormatProvider
The format provider. If provider is null, the current culture is used. - dataWarningSource
- Type: SystemString
The data warning source.
Return Value
Type:
ObjectThe value.
Exceptions Exception | Condition |
---|
ArgumentException | Conversion results in NULL value, however the column does not allow NULLs. |
See Also