语言

DescribeAttribute 类

定义

属性覆盖字段、属性或枚举值的默认描述。

[System.AttributeUsage(System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)]
[System.Serializable]
public class DescribeAttribute : Microsoft.Bot.Builder.FormFlow.FormFlowAttribute
[<System.AttributeUsage(System.AttributeTargets.Enum | System.AttributeTargets.Field | System.AttributeTargets.Property)>]
[<System.Serializable>]
type DescribeAttribute = class
    inherit FormFlowAttribute
Public Class DescribeAttribute
Inherits FormFlowAttribute
继承
DescribeAttribute
属性

构造函数

名称 说明
DescribeAttribute(String, String, String, String, String)

字段、属性或枚举值的描述。

字段

名称 说明
Description

描述字段、属性或枚举,用于模板和选择。

Image

创建卡片或按钮时使用的图片URL。

Message

当卡片按下按钮时返回的消息。

SubTitle

当卡片从描述生成时,请加字幕。

Title

标题:当卡片由描述生成时。

属性

名称 说明
IsLocalizable

如果属性是可局部化的,则为真。

(继承自 FormFlowAttribute)

适用于