IndexAction Constructor (IndexActionType, Document)
Applies To: Microsoft Azure
Initializes a new instance of the IndexAction class with the given action type.
Namespace: Microsoft.Azure.Search.Models
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Syntax
public IndexAction(
IndexActionType actionType,
Document document
)
public:
IndexAction(
IndexActionType actionType,
Document^ document
)
new :
actionType:IndexActionType *
document:Document -> IndexAction
Public Sub New (
actionType As IndexActionType,
document As Document
)
Parameters
actionType
Type: Microsoft.Azure.Search.Models.IndexActionTypeThe type of action to perform on the document.
document
Type: Microsoft.Azure.Search.Models.DocumentThe document on which the action will be performed.
See Also
IndexAction Overload
IndexAction Class
Microsoft.Azure.Search.Models Namespace
Return to top