IndexAction<T> Constructors
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.
Overloads
IndexAction<T>() |
Initializes a new instance of the IndexAction class. |
IndexAction<T>(T, IndexActionType) |
Initializes a new instance of the IndexAction class. |
IndexAction<T>()
- Source:
- IndexAction.cs
Initializes a new instance of the IndexAction class.
public IndexAction ();
Public Sub New ()
Applies to
IndexAction<T>(T, IndexActionType)
- Source:
- IndexAction.cs
Initializes a new instance of the IndexAction class.
public IndexAction (T document = default, Microsoft.Azure.Search.Models.IndexActionType actionType = Microsoft.Azure.Search.Models.IndexActionType.Upload);
new Microsoft.Azure.Search.Models.IndexAction<'T> : 'T * Microsoft.Azure.Search.Models.IndexActionType -> Microsoft.Azure.Search.Models.IndexAction<'T>
Public Sub New (Optional document As T = Nothing, Optional actionType As IndexActionType = Microsoft.Azure.Search.Models.IndexActionType.Upload)
Parameters
- document
- T
The document on which the action will be performed.
- actionType
- IndexActionType
The operation to perform on a document in an indexing batch. Possible values include: 'upload', 'merge', 'mergeOrUpload', 'delete'
Applies to
Azure SDK for .NET