DataType.Collection(DataType) Method

Definition

Creates a DataType for a collection of the given type.

public static Microsoft.Azure.Search.Models.DataType Collection (Microsoft.Azure.Search.Models.DataType elementType);
static member Collection : Microsoft.Azure.Search.Models.DataType -> Microsoft.Azure.Search.Models.DataType
Public Shared Function Collection (elementType As DataType) As DataType

Parameters

elementType
DataType

The DataType of the elements of the collection.

Returns

DataType

A new DataType for a collection.

Applies to