IndexDocumentsAction<T>(IndexActionType, T) Constructor
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.
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.