コード例 #1
0
 /// <summary>
 /// Creates an instance of SitemapVideo
 /// </summary>
 /// <param name="title">The title of the video. Maximum 100 characters.</param>
 /// <param name="description">The description of the video. Maximum 2048 characters.</param>
 /// <param name="thumbnailUrl"></param>
 /// <param name="playerUrl">A URL pointing to a player for a specific video.</param>
 public SitemapVideo(string title, string description, string thumbnailUrl, VideoPlayerUrl playerUrl)
 {
     Title = title;
     Description = description;
     ThumbnailUrl = thumbnailUrl;
     PlayerUrl = playerUrl;
 }
コード例 #2
0
 /// <summary>
 /// Creates an instance of SitemapVideo
 /// </summary>
 /// <param name="title">The title of the video. Maximum 100 characters.</param>
 /// <param name="description">The description of the video. Maximum 2048 characters.</param>
 /// <param name="thumbnailUrl"></param>
 /// <param name="playerUrl">A URL pointing to a player for a specific video.</param>
 public SitemapVideo(string title, string description, string thumbnailUrl, VideoPlayerUrl playerUrl)
 {
     Title        = title;
     Description  = description;
     ThumbnailUrl = thumbnailUrl;
     PlayerUrl    = playerUrl;
 }