Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IndexDocumentsAction.Upload<T>(T) Method
Definition
- Namespace:
- Azure.Search.Documents.Models
- Assembly:
- Azure.Search.Documents.dll
- Package:
- Azure.Search.Documents v12.0.0
- Package:
- Azure.Search.Documents v12.1.0-beta.1
- Source:
- IndexDocumentsAction.cs
- Source:
- IndexDocumentsAction.cs
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.
Create an IndexDocumentsAction<T> to upload.
public static Azure.Search.Documents.Models.IndexDocumentsAction<T> Upload<T>(T document);
static member Upload : 'T -> Azure.Search.Documents.Models.IndexDocumentsAction<'T>
Public Shared Function Upload(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 upload.
Returns
An IndexDocumentsAction<T> to upload.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET
Feedback
Was this page helpful?
