IndexBatch.New<T>(IEnumerable<IndexAction<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 instance of the IndexBatch class.
public static Microsoft.Azure.Search.Models.IndexBatch<T> New<T> (System.Collections.Generic.IEnumerable<Microsoft.Azure.Search.Models.IndexAction<T>> actions);
static member New : seq<Microsoft.Azure.Search.Models.IndexAction<'T>> -> Microsoft.Azure.Search.Models.IndexBatch<'T>
Public Shared Function New(Of T) (actions As IEnumerable(Of IndexAction(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
- actions
- IEnumerable<IndexAction<T>>
The index actions to include in the batch.
Returns
A new IndexBatch.
Remarks
You can use this method as a convenience if you don't want to explicitly specify your model class as a type parameter.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET