Click or drag to resize
DataMapperConvertValue Method
Coverts value of type supported by this mapper to result of type suitable for Azure Search.

Namespace: CMS.Search.Azure
Assembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 11.0.0
Syntax
C#
public Object ConvertValue(
	Object value
)

Parameters

value
Type: SystemObject
Value of type supported by this mapper.

Return Value

Type: Object
Result of type suitable for Azure Search.
Exceptions
ExceptionCondition
InvalidOperationExceptionThrown when value has no conversion defined (i.e. corresponding mapping in MapType(Type) does not exist).
See Also