Udostępnij za pośrednictwem


IndexDocumentsAction<T>(IndexActionType, T) Constructor

Definition

Initializes a new instance of the IndexDocumentsAction class.

public IndexDocumentsAction (Azure.Search.Documents.Models.IndexActionType type, T doc);
new Azure.Search.Documents.Models.IndexDocumentsAction<'T> : Azure.Search.Documents.Models.IndexActionType * 'T -> Azure.Search.Documents.Models.IndexDocumentsAction<'T>
Public Sub New (type As IndexActionType, doc As T)

Parameters

type
IndexActionType

The operation to perform on the document.

doc
T

The document to index.

Applies to