Gets Azure Search DataType suitable for given type.
Namespace: CMS.Search.AzureAssembly: CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 13.0.131
Syntax public DataType MapType(
Type type
)
Parameters
- type
- Type: SystemType
Type for which to return corresponding Azure Search data type.
Return Value
Type:
DataTypeAzure Search data type suitable for
type.
Exceptions Exception | Condition |
---|
ArgumentNullException | Thrown when type is null. |
InvalidOperationException | Thrown when type has no suitable mapping. |
See Also