Click or drag to resize
DataMapperMapType Method
Gets Azure Search DataType suitable for given type.

Namespace: CMS.Search.Azure
Assembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 12.0.0
Syntax
C#
public DataType MapType(
	Type type
)

Parameters

type
Type: SystemType
Type for which to return corresponding Azure Search data type.

Return Value

Type: DataType
Azure Search data type suitable for type.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when type is null.
InvalidOperationExceptionThrown when type has no suitable mapping.
See Also