Partager via


CardViewParameters.TextInputCardViewParameters Méthode

Définition

Méthode d’assistance pour créer une vue de carte d’entrée de texte.

public static Microsoft.Bot.Schema.SharePoint.CardViewParameters TextInputCardViewParameters (Microsoft.Bot.Schema.SharePoint.CardBarComponent cardBar, Microsoft.Bot.Schema.SharePoint.CardTextComponent header, Microsoft.Bot.Schema.SharePoint.CardTextInputComponent body, System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.CardButtonComponent> footer, Microsoft.Bot.Schema.SharePoint.CardImage image);
static member TextInputCardViewParameters : Microsoft.Bot.Schema.SharePoint.CardBarComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * Microsoft.Bot.Schema.SharePoint.CardTextInputComponent * System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.CardButtonComponent> * Microsoft.Bot.Schema.SharePoint.CardImage -> Microsoft.Bot.Schema.SharePoint.CardViewParameters
Public Shared Function TextInputCardViewParameters (cardBar As CardBarComponent, header As CardTextComponent, body As CardTextInputComponent, footer As IList(Of CardButtonComponent), image As CardImage) As CardViewParameters

Paramètres

cardBar
CardBarComponent

Composant de barre de cartes.

header
CardTextComponent

Composant texte à afficher en tant qu’en-tête.

body
CardTextInputComponent

Composant d’entrée de texte à afficher sous forme de corps.

footer
IList<CardButtonComponent>

Jusqu’à deux boutons à afficher en tant que pied de page.

image
CardImage

Image facultative à afficher.

Retours

Configuration de l’affichage des cartes.

Remarques

La vue Carte d’entrée de texte affiche les éléments suivants : - Barre de carte - Un champ de texte principal - Zéro ou une image - Entrée de texte zéro dans la taille de carte moyenne si l’image est présentée, une entrée de texte dans la taille de carte moyenne si aucune image n’est présentée, une entrée de texte dans une grande taille de carte - Boutons zéro dans la taille de carte moyenne si l’image est présentée, un bouton en taille moyenne de carte si aucune image n’est présentée, jusqu’à deux boutons en taille de carte de grande taille ; ou entrée de texte.

S’applique à