Field<T> Class
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.
Base class with declarative implementation of IField.
In this article
public class Field<T> : Microsoft.Bot.Builder.FormFlow.Advanced.IField<T>, Microsoft.Bot.Builder.FormFlow.Advanced.IFieldPrompt<T>, Microsoft.Bot.Builder.FormFlow.Advanced.IFieldState<T> where T : class
type Field<'T (requires 'T : null)> = class
interface IField<'T (requires 'T : null)>
interface IFieldState<'T (requires 'T : null)>
interface IFieldDescription
interface IFieldPrompt<'T (requires 'T : null)>
interface IFieldResources
Public Class Field(Of T)
Implements IField(Of T), IFieldPrompt(Of T), IFieldState(Of T)
Type Parameters
Inheritance
Derived
Implements
Constructors
Fields
Properties
Methods
Active(T)
AddDescription(Object, DescribeAttribute)
Adds a full description for a value.
AddDescription(Object, String, String, String)
Adds a description for a value.
AddTemplate(TemplateAttribute)
AddTerms(Object, String[])
Adds terms for a value.
AddTerms(Object, TermsAttribute)
Adds terms for a value.
DefineAsync(T)
DefinePrompt()
DefineRecognizer()
GetValue(T)
IsUnknown(T)
Limits(Double, Double)
Localize()
Next(Object, T)
RemoveValue(Object)
Removes the description and terms associated with a value.
RemoveValues()
Removes all values and their associated descriptions and terms.
ReplaceTemplate(TemplateAttribute)
Replace a template in the field.
SaveResources()
SetActive(ActiveDelegate<T>)
Define a delegate for checking state to see if field applies.
SetAllowsMultiple(Boolean)
Sets whether or not multiple values are allowed.
SetDefine(DefineAsyncDelegate<T>)
Define a delegate for dynamically defining field.
SetDependencies(String[])
Define the fields this field depends on.
SetFieldDescription(DescribeAttribute)
Set the full field description.
SetFieldDescription(String)
Set the field description.
SetFieldTerms(String[])
Set the terms associated with the field.
SetIsNullable(Boolean)
Set whether or not field is nullable.
SetLimits(Double, Double)
Set numeric limits.
SetLimits(Double, Double, Boolean)
SetNext(NextDelegate<T>)
Delegate for deciding on the next form step to execute.
SetOptional(Boolean)
Set whether or not a field is optional.
SetPattern(String)
Regular expression for validating strings.
SetPrompt(PromptAttribute)
Sets the field prompt.
SetRecognizer(IRecognize<T>)
Sets the recognizer for the field.
SetType(Type)
Sets the type of the underlying field state.
SetUnknown(T)
SetValidate(ValidateAsyncDelegate<T>)
Set the field validation.
SetValue(T, Object)
Template(TemplateUsage)
Terms(Object)
ValidateAsync(T, Object)
ValueDescription(Object)
Applies to