Field<T>.AddDescription Method
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.
Overloads
AddDescription(Object, DescribeAttribute) |
Adds a full description for a value. |
AddDescription(Object, String, String, String) |
Adds a description for a value. |
AddDescription(Object, DescribeAttribute)
- Source:
- Field.cs
Adds a full description for a value.
public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> AddDescription (object value, Microsoft.Bot.Builder.FormFlow.DescribeAttribute description);
member this.AddDescription : obj * Microsoft.Bot.Builder.FormFlow.DescribeAttribute -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function AddDescription (value As Object, description As DescribeAttribute) As Field(Of T)
Parameters
- value
- Object
The value.
- description
- DescribeAttribute
Description of the value.
Returns
A Field<T>.
Applies to
AddDescription(Object, String, String, String)
- Source:
- Field.cs
Adds a description for a value.
public Microsoft.Bot.Builder.FormFlow.Advanced.Field<T> AddDescription (object value, string description, string image = default, string message = default);
member this.AddDescription : obj * string * string * string -> Microsoft.Bot.Builder.FormFlow.Advanced.Field<'T (requires 'T : null)>
Public Function AddDescription (value As Object, description As String, Optional image As String = Nothing, Optional message As String = Nothing) As Field(Of T)
Parameters
- value
- Object
The value.
- description
- String
Description of the value.
- image
- String
Image to use for value as button.
- message
- String
Message to return when button is pressed.
Returns
A Field<T>.