AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Provides information that you can use to highlight a search result so that your users can quickly identify terms in the response.

Inheritance Hierarchy

System.Object
  Amazon.Kendra.Model.Highlight

Namespace: Amazon.Kendra.Model
Assembly: AWSSDK.Kendra.dll
Version: 3.x.y.z

Syntax

C#
public class Highlight

The Highlight type exposes the following members

Constructors

NameDescription
Public Method Highlight()

Properties

NameTypeDescription
Public Property BeginOffset System.Int32

Gets and sets the property BeginOffset.

The zero-based location in the response string where the highlight starts.

Public Property EndOffset System.Int32

Gets and sets the property EndOffset.

The zero-based location in the response string where the highlight ends.

Public Property TopAnswer System.Boolean

Gets and sets the property TopAnswer.

Indicates whether the response is the best response. True if this is the best response; otherwise, false.

Public Property Type Amazon.Kendra.HighlightType

Gets and sets the property Type.

The highlight type.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5