CardViewParameters.SearchCardViewParameters 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 Search Card View.
public static Microsoft.Bot.Schema.SharePoint.CardViewParameters SearchCardViewParameters (Microsoft.Bot.Schema.SharePoint.CardBarComponent cardBar, Microsoft.Bot.Schema.SharePoint.CardTextComponent header, Microsoft.Bot.Schema.SharePoint.CardSearchBoxComponent body, Microsoft.Bot.Schema.SharePoint.CardSearchFooterComponent footer);
static member SearchCardViewParameters : Microsoft.Bot.Schema.SharePoint.CardBarComponent * Microsoft.Bot.Schema.SharePoint.CardTextComponent * Microsoft.Bot.Schema.SharePoint.CardSearchBoxComponent * Microsoft.Bot.Schema.SharePoint.CardSearchFooterComponent -> Microsoft.Bot.Schema.SharePoint.CardViewParameters
Public Shared Function SearchCardViewParameters (cardBar As CardBarComponent, header As CardTextComponent, body As CardSearchBoxComponent, footer As CardSearchFooterComponent) As CardViewParameters
Parameters
- cardBar
- CardBarComponent
Card bar component.
- header
- CardTextComponent
Text component to display as header.
Search box to display as body.
- footer
- CardSearchFooterComponent
Search footer component to display as footer.
Returns
Card view configuration.
Remarks
The Search Card view displays the following: - Card bar - One primary text field - One search box - One search box footer.