IndexBatch.Upload<T>(IEnumerable<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new IndexBatch for uploading documents to the index.
public static Microsoft.Azure.Search.Models.IndexBatch<T> Upload<T> (System.Collections.Generic.IEnumerable<T> documents);
static member Upload : seq<'T> -> Microsoft.Azure.Search.Models.IndexBatch<'T>
Public Shared Function Upload(Of T) (documents As IEnumerable(Of T)) As IndexBatch(Of T)
Type Parameters
- T
The CLR type that maps to the index schema. Instances of this type can be stored as documents in the index.
Parameters
- documents
- IEnumerable<T>
The documents to upload.
Returns
A new IndexBatch.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET