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.

Describes a button to use on a response card used to gather slot values from a user.

Inheritance Hierarchy

System.Object
  Amazon.LexModelsV2.Model.Button

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

Syntax

C#
public class Button

The Button type exposes the following members

Constructors

NameDescription
Public Method Button()

Properties

NameTypeDescription
Public Property Text System.String

Gets and sets the property Text.

The text that appears on the button. Use this to tell the user what value is returned when they choose this button.

Public Property Value System.String

Gets and sets the property Value.

The value returned to Amazon Lex when the user chooses this button. This must be one of the slot values configured for the slot.

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