IndexDocumentsAction.Delete Method
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
Delete(String, String) |
Create an IndexDocumentsAction<T> to delete. |
Delete<T>(T) |
Create an IndexDocumentsAction<T> to delete. |
Delete(String, String)
- Source:
- IndexDocumentsAction.cs
- Source:
- IndexDocumentsAction.cs
Create an IndexDocumentsAction<T> to delete.
public static Azure.Search.Documents.Models.IndexDocumentsAction<Azure.Search.Documents.Models.SearchDocument> Delete (string keyName, string keyValue);
static member Delete : string * string -> Azure.Search.Documents.Models.IndexDocumentsAction<Azure.Search.Documents.Models.SearchDocument>
Public Shared Function Delete (keyName As String, keyValue As String) As IndexDocumentsAction(Of SearchDocument)
Parameters
- keyName
- String
The name of the key field of the index.
- keyValue
- String
The key of the document to delete.
Returns
An IndexDocumentsAction<T> to delete.
Applies to
Delete<T>(T)
- Source:
- IndexDocumentsAction.cs
- Source:
- IndexDocumentsAction.cs
Create an IndexDocumentsAction<T> to delete.
public static Azure.Search.Documents.Models.IndexDocumentsAction<T> Delete<T> (T document);
static member Delete : 'T -> Azure.Search.Documents.Models.IndexDocumentsAction<'T>
Public Shared Function Delete(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 delete.
Returns
An IndexDocumentsAction<T> to delete.
Applies to
Azure SDK for .NET
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla