語言

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>
衍生
實作

建構函式

名稱 Description
Field<T>(String, FieldRole)

建構場域。

欄位

名稱 Description
_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。

屬性

名稱 Description
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。

方法

名稱 Description
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)

設定欄位是否可為空。

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。

適用於