你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AnswerType 类

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<AnswerType>
      • com.microsoft.azure.cognitiveservices.search.websearch.models.AnswerType

public class AnswerType

定义 AnswerType 的值。

字段摘要

修饰符和类型 字段和描述
final AnswerType COMPUTATION

AnswerType 的静态值计算。

final AnswerType IMAGES

AnswerType 的静态值图像。

final AnswerType NEWS

AnswerType 的静态值新闻。

final AnswerType RELATED_SEARCHES

静态值 RelatedSearches for AnswerType。

final AnswerType SPELL_SUGGESTIONS

AnswerType 的静态值 SpellSuggestions。

final AnswerType TIME_ZONE

AnswerType 的静态值 TimeZone。

final AnswerType VIDEOS

AnswerType 的静态值视频。

final AnswerType WEB_PAGES

AnswerType 的静态值 WebPages。

方法摘要

修饰符和类型 方法和描述
AnswerType fromString(String name)

从其字符串表示形式创建或查找 AnswerType。

Collection<AnswerType> values()

字段详细信息

COMPUTATION

public static final AnswerType COMPUTATION= fromString("Computation")

AnswerType 的静态值计算。

IMAGES

public static final AnswerType IMAGES= fromString("Images")

AnswerType 的静态值图像。

NEWS

public static final AnswerType NEWS= fromString("News")

AnswerType 的静态值新闻。

public static final AnswerType RELATED_SEARCHES= fromString("RelatedSearches")

静态值 RelatedSearches for AnswerType。

SPELL_SUGGESTIONS

public static final AnswerType SPELL_SUGGESTIONS= fromString("SpellSuggestions")

AnswerType 的静态值 SpellSuggestions。

TIME_ZONE

public static final AnswerType TIME_ZONE= fromString("TimeZone")

AnswerType 的静态值 TimeZone。

VIDEOS

public static final AnswerType VIDEOS= fromString("Videos")

AnswerType 的静态值视频。

WEB_PAGES

public static final AnswerType WEB_PAGES= fromString("WebPages")

AnswerType 的静态值 WebPages。

方法详细信息

fromString

public static AnswerType fromString(String name)

从其字符串表示形式创建或查找 AnswerType。

Parameters:

name - 要查找的名称

Returns:

相应的 AnswerType

values

public static Collection values()

Returns:

已知 AnswerType 值

适用于