WebPage 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
WebPage() |
Initializes a new instance of the WebPage class. |
WebPage(String, String, String, String, ImageObject, String, String, String, IList<Thing>, String, String, String, IList<WebPage>, String, IList<WebMetaTag>, ImageObject) |
Initializes a new instance of the WebPage class. |
WebPage()
Initializes a new instance of the WebPage class.
public WebPage ();
Public Sub New ()
Applies to
WebPage(String, String, String, String, ImageObject, String, String, String, IList<Thing>, String, String, String, IList<WebPage>, String, IList<WebMetaTag>, ImageObject)
Initializes a new instance of the WebPage class.
public WebPage (string id = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.ImageObject image = default, string description = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Thing> provider = default, string text = default, string displayUrl = default, string snippet = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebPage> deepLinks = default, string dateLastCrawled = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebMetaTag> searchTags = default, Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.ImageObject primaryImageOfPage = default);
new Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebPage : string * string * string * string * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.ImageObject * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.Thing> * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebPage> * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebMetaTag> * Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.ImageObject -> Microsoft.Azure.CognitiveServices.Search.WebSearch.Models.WebPage
Public Sub New (Optional id As String = Nothing, Optional webSearchUrl As String = Nothing, Optional name As String = Nothing, Optional url As String = Nothing, Optional image As ImageObject = Nothing, Optional description As String = Nothing, Optional bingId As String = Nothing, Optional thumbnailUrl As String = Nothing, Optional provider As IList(Of Thing) = Nothing, Optional text As String = Nothing, Optional displayUrl As String = Nothing, Optional snippet As String = Nothing, Optional deepLinks As IList(Of WebPage) = Nothing, Optional dateLastCrawled As String = Nothing, Optional searchTags As IList(Of WebMetaTag) = Nothing, Optional primaryImageOfPage As ImageObject = Nothing)
Parameters
- id
- String
A String identifier.
- webSearchUrl
- String
The URL To Bing's search result for this item.
- name
- String
The name of the thing represented by this object.
- url
- String
The URL to get more information about the thing represented by this object.
- image
- ImageObject
- description
- String
A short description of the item.
- bingId
- String
An ID that uniquely identifies this item.
- thumbnailUrl
- String
The URL to a thumbnail of the item.
- text
- String
- displayUrl
- String
The display URL of the webpage. The URL is meant for display purposes only and is not well formed.
- snippet
- String
A snippet of text from the webpage that describes its contents.
A list of links to related content that Bing found in the website that contains this webpage. The Webpage object in this context includes only the name, url, urlPingSuffix, and snippet fields.
- dateLastCrawled
- String
The last time that Bing crawled the webpage. The date is in the form, YYYY-MM-DDTHH:MM:SS. For example, 2015-04-13T05:23:39.
- searchTags
- IList<WebMetaTag>
A list of search tags that the webpage owner specified on the webpage. The API returns only indexed search tags. The name field of the MetaTag object contains the indexed search tag. Search tags begin with search.* (for example, search.assetId). The content field contains the tag's value.
- primaryImageOfPage
- ImageObject
Applies to
Azure SDK for .NET