語言

CardViewParameters.SearchCardViewParameters 方法

定義

用來建立搜尋卡片檢視的協助程式方法。

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

參數

cardBar
CardBarComponent

卡片列元件。

header
CardTextComponent

要顯示為標頭的文字元件。

body
CardSearchBoxComponent

要顯示為內文的搜尋方塊。

footer
CardSearchFooterComponent

搜尋頁尾元件,以顯示為頁尾。

傳回

卡片檢視組態。

備註

[搜尋卡片] 檢視會顯示下列內容: - 卡片列 - 一個主要文字欄位 - 一個搜尋方塊 - 一個搜尋方塊頁尾。

適用於