共用方式為


IndexDocumentsAction.MergeOrUpload<T>(T) Method

Definition

Create an IndexDocumentsAction<T> to merge or upload.

public static Azure.Search.Documents.Models.IndexDocumentsAction<T> MergeOrUpload<T> (T document);
static member MergeOrUpload : 'T -> Azure.Search.Documents.Models.IndexDocumentsAction<'T>
Public Shared Function MergeOrUpload(Of T) (document As T) As IndexDocumentsAction(Of T)

Type Parameters

T

The .NET type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Parameters

document
T

The document to merge or upload.

Returns

An IndexDocumentsAction<T> to merge or upload.

Applies to