Field<T> 类

定义

具有 IField 的声明性实现的基类。

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)

类型参数

T

基础窗体状态。

继承
Field<T>
派生
实现

构造函数

Field<T>(String, FieldRole)

构造字段。

字段

_allowsMultiple

具有 IField 的声明性实现的基类。

_buildPrompts

具有 IField 的声明性实现的基类。

_condition

具有 IField 的声明性实现的基类。

_define

具有 IField 的声明性实现的基类。

_dependencies

具有 IField 的声明性实现的基类。

_description

具有 IField 的声明性实现的基类。

_form

具有 IField 的声明性实现的基类。

_help

具有 IField 的声明性实现的基类。

_isNullable

具有 IField 的声明性实现的基类。

_keepZero

具有 IField 的声明性实现的基类。

_limited

具有 IField 的声明性实现的基类。

_max

具有 IField 的声明性实现的基类。

_min

具有 IField 的声明性实现的基类。

_name

具有 IField 的声明性实现的基类。

_next

具有 IField 的声明性实现的基类。

_optional

具有 IField 的声明性实现的基类。

_pattern

具有 IField 的声明性实现的基类。

_prompt

具有 IField 的声明性实现的基类。

_promptDefinition

具有 IField 的声明性实现的基类。

_promptSet

具有 IField 的声明性实现的基类。

_recognizer

具有 IField 的声明性实现的基类。

_role

具有 IField 的声明性实现的基类。

_templates

具有 IField 的声明性实现的基类。

_terms

具有 IField 的声明性实现的基类。

_type

具有 IField 的声明性实现的基类。

_validate

具有 IField 的声明性实现的基类。

_valueDescriptions

具有 IField 的声明性实现的基类。

_valueTerms

具有 IField 的声明性实现的基类。

属性

AllowDefault

具有 IField 的声明性实现的基类。

AllowNumbers

具有 IField 的声明性实现的基类。

AllowsMultiple

具有 IField 的声明性实现的基类。

Dependencies

具有 IField 的声明性实现的基类。

FieldDescription

具有 IField 的声明性实现的基类。

FieldTerms

具有 IField 的声明性实现的基类。

Form

具有 IField 的声明性实现的基类。

Help

具有 IField 的声明性实现的基类。

IsNullable

具有 IField 的声明性实现的基类。

Name

具有 IField 的声明性实现的基类。

Optional

具有 IField 的声明性实现的基类。

Pattern

具有 IField 的声明性实现的基类。

Prompt

具有 IField 的声明性实现的基类。

Role

具有 IField 的声明性实现的基类。

Type

具有 IField 的声明性实现的基类。

ValueDescriptions

具有 IField 的声明性实现的基类。

Values

具有 IField 的声明性实现的基类。

方法

Active(T)

具有 IField 的声明性实现的基类。

AddDescription(Object, DescribeAttribute)

添加值的完整说明。

AddDescription(Object, String, String, String)

添加值的说明。

AddTemplate(TemplateAttribute)

具有 IField 的声明性实现的基类。

AddTerms(Object, String[])

为值添加字词。

AddTerms(Object, TermsAttribute)

为值添加字词。

DefineAsync(T)

具有 IField 的声明性实现的基类。

DefinePrompt()

具有 IField 的声明性实现的基类。

DefineRecognizer()

具有 IField 的声明性实现的基类。

GetValue(T)

具有 IField 的声明性实现的基类。

IsUnknown(T)

具有 IField 的声明性实现的基类。

Limits(Double, Double)

具有 IField 的声明性实现的基类。

Localize()

具有 IField 的声明性实现的基类。

Next(Object, T)

具有 IField 的声明性实现的基类。

RemoveValue(Object)

删除与值关联的说明和术语。

RemoveValues()

删除所有值及其关联的说明和术语。

ReplaceTemplate(TemplateAttribute)

替换 字段中的模板。

SaveResources()

具有 IField 的声明性实现的基类。

SetActive(ActiveDelegate<T>)

定义一个委托,用于检查状态以查看字段是否适用。

SetAllowsMultiple(Boolean)

设置是否允许多个值。

SetDefine(DefineAsyncDelegate<T>)

定义用于动态定义字段的委托。

SetDependencies(String[])

定义此字段所依赖的字段。

SetFieldDescription(DescribeAttribute)

设置完整的字段说明。

SetFieldDescription(String)

设置字段说明。

SetFieldTerms(String[])

设置与字段关联的术语。

SetIsNullable(Boolean)

设置字段是否可为 null。

SetLimits(Double, Double, Boolean)

具有 IField 的声明性实现的基类。

SetLimits(Double, Double)

设置数字限制。

SetNext(NextDelegate<T>)

委托决定要执行的下一个表单步骤。

SetOptional(Boolean)

设置字段是否为可选字段。

SetPattern(String)

用于验证字符串的正则表达式。

SetPrompt(PromptAttribute)

设置字段提示。

SetRecognizer(IRecognize<T>)

设置字段的识别器。

SetType(Type)

设置基础字段状态的类型。

SetUnknown(T)

具有 IField 的声明性实现的基类。

SetValidate(ValidateAsyncDelegate<T>)

设置字段验证。

SetValue(T, Object)

具有 IField 的声明性实现的基类。

Template(TemplateUsage)

具有 IField 的声明性实现的基类。

Terms(Object)

具有 IField 的声明性实现的基类。

ValidateAsync(T, Object)

具有 IField 的声明性实现的基类。

ValueDescription(Object)

具有 IField 的声明性实现的基类。

适用于