Computation Class
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.
Defines an expression and its answer
public class Computation : Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Answer
type Computation = class
inherit Answer
Public Class Computation
Inherits Answer
- Inheritance
Constructors
Computation() |
Initializes a new instance of the Computation class. |
Computation(String, String, String, String, IList<Query>) |
Initializes a new instance of the Computation class. |
Properties
Expression |
Gets or sets the math or conversion expression. If the query contains a request to convert units of measure (for example, meters to feet), this field contains the from units and value contains the to units. If the query contains a mathematical expression such as 2+2, this field contains the expression and value contains the answer. Note that mathematical expressions may be normalized. For example, if the query was sqrt(4^2+8^2), the normalized expression may be sqrt((4^2)+(8^2)). If the user's query is a math question and the textDecorations query parameter is set to true, the expression string may include formatting markers. For example, if the user's query is log(2), the normalized expression includes the subscript markers. For more information, see Hit Highlighting. |
FollowUpQueries | (Inherited from Answer) |
Id |
Gets a String identifier. (Inherited from Identifiable) |
Value |
Gets or sets the expression's answer. |
WebSearchUrl |
Gets the URL To Bing's search result for this item. (Inherited from Response) |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET