VisualSearchRequest 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
VisualSearchRequest() |
Initializes a new instance of the VisualSearchRequest class. |
VisualSearchRequest(ImageInfo, KnowledgeRequest) |
Initializes a new instance of the VisualSearchRequest class. |
VisualSearchRequest()
Initializes a new instance of the VisualSearchRequest class.
public VisualSearchRequest ();
Public Sub New ()
Applies to
VisualSearchRequest(ImageInfo, KnowledgeRequest)
Initializes a new instance of the VisualSearchRequest class.
public VisualSearchRequest (Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageInfo imageInfo = default, Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.KnowledgeRequest knowledgeRequest = default);
new Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.VisualSearchRequest : Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.ImageInfo * Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.KnowledgeRequest -> Microsoft.Azure.CognitiveServices.Search.VisualSearch.Models.VisualSearchRequest
Public Sub New (Optional imageInfo As ImageInfo = Nothing, Optional knowledgeRequest As KnowledgeRequest = Nothing)
Parameters
- imageInfo
- ImageInfo
A JSON object that identities the image to get insights of.
- knowledgeRequest
- KnowledgeRequest
A JSON object containing information about the request, such as filters, or a description.