MediaCard 建構函式

定義

多載

MediaCard()
MediaCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)

MediaCard()

public MediaCard ();
Public Sub New ()

適用於

MediaCard(String, String, String, ThumbnailUrl, IList<MediaUrl>, IList<CardAction>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, Object, String)

public MediaCard (string title = default, string subtitle = default, string text = default, Microsoft.Bot.Connector.ThumbnailUrl image = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.MediaUrl> media = default, System.Collections.Generic.IList<Microsoft.Bot.Connector.CardAction> buttons = default, bool? shareable = default, bool? autoloop = default, bool? autostart = default, string aspect = default, object value = default, string duration = default);
new Microsoft.Bot.Connector.MediaCard : string * string * string * Microsoft.Bot.Connector.ThumbnailUrl * System.Collections.Generic.IList<Microsoft.Bot.Connector.MediaUrl> * System.Collections.Generic.IList<Microsoft.Bot.Connector.CardAction> * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * obj * string -> Microsoft.Bot.Connector.MediaCard
Public Sub New (Optional title As String = Nothing, Optional subtitle As String = Nothing, Optional text As String = Nothing, Optional image As ThumbnailUrl = Nothing, Optional media As IList(Of MediaUrl) = Nothing, Optional buttons As IList(Of CardAction) = Nothing, Optional shareable As Nullable(Of Boolean) = Nothing, Optional autoloop As Nullable(Of Boolean) = Nothing, Optional autostart As Nullable(Of Boolean) = Nothing, Optional aspect As String = Nothing, Optional value As Object = Nothing, Optional duration As String = Nothing)

參數

title
System.String
subtitle
System.String
text
System.String
image
ThumbnailUrl
media
System.Collections.Generic.IList<MediaUrl>
buttons
System.Collections.Generic.IList<CardAction>
shareable
System.Nullable<System.Boolean>
autoloop
System.Nullable<System.Boolean>
autostart
System.Nullable<System.Boolean>
aspect
System.String
value
System.Object
duration
System.String

適用於