CardViewParameters.PrimaryTextCardViewParameters Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Helper method to create a Primary Text Card View.
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
Parameters
- cardBar
- CardBarComponent
Card bar component.
- header
- CardTextComponent
Text component to display as header.
- body
- CardTextComponent
Text component to display as body.
- footer
- IList<BaseCardComponent>
Up to two buttons or text input to display as footer.
Returns
Card view configuration.
Remarks
The Primary Text card view displays the following: - Card bar - One primary text field - One description text field - Zero or one button in the Medium card size, up to two buttons in Large card size; or text input.