SearchModelFactory.UpdateKnowledgeSourceFileContent 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.
Multipart request for updating a file in a File knowledge source.
public static Azure.Search.Documents.Indexes.Models.UpdateKnowledgeSourceFileContent UpdateKnowledgeSourceFileContent(Azure.Search.Documents.Indexes.Models.FileUploadMetadata metadata = default, System.ClientModel.FileBinaryContent content = default);
static member UpdateKnowledgeSourceFileContent : Azure.Search.Documents.Indexes.Models.FileUploadMetadata * System.ClientModel.FileBinaryContent -> Azure.Search.Documents.Indexes.Models.UpdateKnowledgeSourceFileContent
Public Shared Function UpdateKnowledgeSourceFileContent (Optional metadata As FileUploadMetadata = Nothing, Optional content As FileBinaryContent = Nothing) As UpdateKnowledgeSourceFileContent
Parameters
- metadata
- FileUploadMetadata
The JSON metadata describing the file.
- content
- FileBinaryContent
The raw file content.
Returns
A new UpdateKnowledgeSourceFileContent instance for mocking.