AttachmentInfo 构造函数

定义

重载

AttachmentInfo()

初始化 AttachmentInfo 类的新实例。

AttachmentInfo(String, String, IList<AttachmentView>)

初始化 AttachmentInfo 类的新实例。

AttachmentInfo()

初始化 AttachmentInfo 类的新实例。

public AttachmentInfo ();
Public Sub New ()

适用于

AttachmentInfo(String, String, IList<AttachmentView>)

初始化 AttachmentInfo 类的新实例。

public AttachmentInfo (string name = default, string type = default, System.Collections.Generic.IList<Microsoft.Bot.Schema.AttachmentView> views = default);
new Microsoft.Bot.Schema.AttachmentInfo : string * string * System.Collections.Generic.IList<Microsoft.Bot.Schema.AttachmentView> -> Microsoft.Bot.Schema.AttachmentInfo
Public Sub New (Optional name As String = Nothing, Optional type As String = Nothing, Optional views As IList(Of AttachmentView) = Nothing)

参数

name
String

附件的名称。

type
String

附件的 ContentType。

views
IList<AttachmentView>

附件视图。

适用于