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.

Represents an option to be shown on the client platform (Facebook, Slack, etc.)

Inheritance Hierarchy

System.Object
  Amazon.Lex.Model.Button

Namespace: Amazon.Lex.Model
Assembly: AWSSDK.Lex.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.

Text that is visible to the user on the button.

Public Property Value System.String

Gets and sets the property Value.

The value sent to Amazon Lex when a user chooses the button. For example, consider button text "NYC." When the user chooses the button, the value sent can be "New York City."

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5