CardViewParameters.PrimaryTextCardViewParameters Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Méthode d’assistance pour créer une vue de carte de texte principale.
public static Microsoft.Bot.Schema.SharePoint.CardViewParameters PrimaryTextCardViewParameters (Microsoft.Bot.Schema.SharePoint.CardBarComponent cardBar, Microsoft.Bot.Schema.SharePoint.CardTextComponent header, Microsoft.Bot.Schema.SharePoint.CardTextComponent body, System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> footer);
static member PrimaryTextCardViewParameters : Microsoft.Bot.Schema.SharePoint.CardBarComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * System.Collections.Generic.IList<Microsoft.Bot.Schema.SharePoint.BaseCardComponent> -> Microsoft.Bot.Schema.SharePoint.CardViewParameters
Public Shared Function PrimaryTextCardViewParameters (cardBar As CardBarComponent, header As CardTextComponent, body As CardTextComponent, footer As IList(Of BaseCardComponent)) As CardViewParameters
Paramètres
- cardBar
- CardBarComponent
Composant de barre de cartes.
- header
- CardTextComponent
Composant texte à afficher en tant qu’en-tête.
- body
- CardTextComponent
Composant texte à afficher sous forme de corps.
- footer
- IList<BaseCardComponent>
Jusqu’à deux boutons ou entrées de texte à afficher en tant que pied de page.
Retours
Configuration de l’affichage des cartes.
Remarques
L’affichage Carte de texte primaire affiche les éléments suivants : - Barre de carte - Un champ de texte principal - Un champ de texte de description - Zéro ou un bouton dans la taille moyenne de la carte, jusqu’à deux boutons de grande taille de carte ; ou entrée de texte.