Kentico 11 API Reference
Kentico 11 API Reference
Namespaces
CMS.Search Namespaces
CMS.Search.Azure
DataMapper Class
DataMapper Methods
ConvertValue Method
MapType Method
RegisterMapping Method
DataMapper
MapType Method
Gets Azure Search
DataType
suitable for given
type
.
Namespace:
CMS.Search.Azure
Assembly:
CMS.Search.Azure (in CMS.Search.Azure.dll) Version: 11.0.0
Syntax
C#
Copy
public
DataType
MapType
(
Type
type
)
Parameters
type
Type:
System
Type
Type for which to return corresponding Azure Search data type.
Return Value
Type:
DataType
Azure 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
Reference
DataMapper Class
CMS.Search.Azure Namespace
Copyright (c) 2017 Kentico Software
Send comments on this topic to
support@kentico.com