Compartilhar via


SearchAction Construtores

Definição

Sobrecargas

SearchAction()

Inicializa uma nova instância da classe SearchAction.

SearchAction(String, String, String, IList<Action>, IList<Action>, String, String, String, String, IList<Thing>, IList<Thing>, IList<Thing>, Thing, String, String, Nullable<Int32>, Thing, String, Thing, Nullable<Int32>, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>, IList<Thing>, String, Nullable<Boolean>, String, String, String, String)

Inicializa uma nova instância da classe SearchAction.

SearchAction()

Inicializa uma nova instância da classe SearchAction.

public SearchAction ();
Public Sub New ()

Aplica-se a

SearchAction(String, String, String, IList<Action>, IList<Action>, String, String, String, String, IList<Thing>, IList<Thing>, IList<Thing>, Thing, String, String, Nullable<Int32>, Thing, String, Thing, Nullable<Int32>, String, Nullable<Boolean>, IList<String>, Nullable<Boolean>, IList<Thing>, String, Nullable<Boolean>, String, String, String, String)

Inicializa uma nova instância da classe SearchAction.

public SearchAction (string id = default, string readLink = default, string webSearchUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> potentialAction = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> immediateAction = default, string preferredClickthroughUrl = default, string adaptiveCard = default, string url = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> about = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> mentions = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> provider = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing creator = default, string text = default, string discussionUrl = default, int? commentCount = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing mainEntity = default, string headLine = default, Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing copyrightHolder = default, int? copyrightYear = default, string disclaimer = default, bool? isAccessibleForFree = default, System.Collections.Generic.IList<string> genre = default, bool? isFamilyFriendly = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> result = default, string displayName = default, bool? isTopAction = default, string serviceUrl = default, string displayText = default, string query = default, string searchKind = default);
new Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SearchAction : string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Action> * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * string * string * Nullable<int> * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * string * Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing * Nullable<int> * string * Nullable<bool> * System.Collections.Generic.IList<string> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.Thing> * string * Nullable<bool> * string * string * string * string -> Microsoft.Azure.CognitiveServices.Search.AutoSuggest.Models.SearchAction
Public Sub New (Optional id As String = Nothing, Optional readLink As String = Nothing, Optional webSearchUrl As String = Nothing, Optional potentialAction As IList(Of Action) = Nothing, Optional immediateAction As IList(Of Action) = Nothing, Optional preferredClickthroughUrl As String = Nothing, Optional adaptiveCard As String = Nothing, Optional url As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional about As IList(Of Thing) = Nothing, Optional mentions As IList(Of Thing) = Nothing, Optional provider As IList(Of Thing) = Nothing, Optional creator As Thing = Nothing, Optional text As String = Nothing, Optional discussionUrl As String = Nothing, Optional commentCount As Nullable(Of Integer) = Nothing, Optional mainEntity As Thing = Nothing, Optional headLine As String = Nothing, Optional copyrightHolder As Thing = Nothing, Optional copyrightYear As Nullable(Of Integer) = Nothing, Optional disclaimer As String = Nothing, Optional isAccessibleForFree As Nullable(Of Boolean) = Nothing, Optional genre As IList(Of String) = Nothing, Optional isFamilyFriendly As Nullable(Of Boolean) = Nothing, Optional result As IList(Of Thing) = Nothing, Optional displayName As String = Nothing, Optional isTopAction As Nullable(Of Boolean) = Nothing, Optional serviceUrl As String = Nothing, Optional displayText As String = Nothing, Optional query As String = Nothing, Optional searchKind As String = Nothing)

Parâmetros

id
String

Um identificador string.

readLink
String

A URL que retorna esse recurso.

webSearchUrl
String

A URL para o resultado da pesquisa do Bing para este item.

potentialAction
IList<Action>
immediateAction
IList<Action>
preferredClickthroughUrl
String
adaptiveCard
String
url
String

A URL para obter mais informações sobre a coisa representada por esse objeto.

thumbnailUrl
String

A URL para uma miniatura do item.

about
IList<Thing>

Somente para uso interno.

mentions
IList<Thing>

Somente para uso interno.

provider
IList<Thing>

A origem do trabalho criativo.

creator
Thing
text
String

Conteúdo de texto deste trabalho criativo

discussionUrl
String
commentCount
Nullable<Int32>
mainEntity
Thing
headLine
String
copyrightHolder
Thing
copyrightYear
Nullable<Int32>
disclaimer
String
isAccessibleForFree
Nullable<Boolean>
genre
IList<String>
isFamilyFriendly
Nullable<Boolean>
result
IList<Thing>
displayName
String
isTopAction
Nullable<Boolean>
serviceUrl
String
displayText
String
query
String
searchKind
String

Os valores possíveis incluem: 'WebSearch', 'HistorySearch', 'DocumentSearch', 'TagSearch', 'LocationSearch', 'CustomSearch'

Aplica-se a