你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
WebPage 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WebPage() |
初始化 WebPage 类的新实例。 |
WebPage(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String) |
初始化 WebPage 类的新实例。 |
WebPage()
初始化 WebPage 类的新实例。
public WebPage ();
Public Sub New ()
适用于
WebPage(String, String, String, String, String, ImageObject, String, String, String, String, IList<Thing>, String)
初始化 WebPage 类的新实例。
public WebPage (string id = default, string readLink = default, string webSearchUrl = default, string name = default, string url = default, Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject image = default, string description = default, string alternateName = default, string bingId = default, string thumbnailUrl = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.Thing> provider = default, string text = default);
new Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.WebPage : string * string * string * string * string * Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.ImageObject * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.Thing> * string -> Microsoft.Azure.CognitiveServices.Search.CustomImageSearch.Models.WebPage
Public Sub New (Optional id As String = Nothing, Optional readLink 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 alternateName 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)
参数
- id
- String
字符串标识符。
- readLink
- String
返回此资源的 URL。
- webSearchUrl
- String
必应对此项目的搜索结果的 URL。
- name
- String
此对象表示的事物的名称。
- url
- String
用于获取有关此对象所表示事物的详细信息的 URL。
- image
- ImageObject
项的图像。
- description
- String
项的简短说明。
- alternateName
- String
项的别名
- bingId
- String
唯一标识此项的 ID。
- thumbnailUrl
- String
项缩略图的 URL。
- text
- String
此创意作品的文本内容