SearchAction Constructors
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.
Overloads
SearchAction() |
Initializes a new instance of the SearchAction class. |
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) |
Initializes a new instance of the SearchAction class. |
SearchAction()
Initializes a new instance of the SearchAction class.
public SearchAction ();
Public Sub New ()
Applies to
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)
Initializes a new instance of the SearchAction class.
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)
Parameters
- id
- String
A String identifier.
- readLink
- String
The URL that returns this resource.
- webSearchUrl
- String
The URL To Bing's search result for this item.
- preferredClickthroughUrl
- String
- adaptiveCard
- String
- url
- String
The URL to get more information about the thing represented by this object.
- thumbnailUrl
- String
The URL to a thumbnail of the item.
- creator
- Thing
- text
- String
Text content of this creative work
- discussionUrl
- String
- mainEntity
- Thing
- headLine
- String
- copyrightHolder
- Thing
- disclaimer
- String
- displayName
- String
- serviceUrl
- String
- displayText
- String
- query
- String
- searchKind
- String
Possible values include: 'WebSearch', 'HistorySearch', 'DocumentSearch', 'TagSearch', 'LocationSearch', 'CustomSearch'
Applies to
Azure SDK for .NET