System.ServiceModel.Syndication.SyndicationFeedExtensions.GetNextPageLink C# (CSharp) Метод

GetNextPageLink() публичный статический Метод

public static GetNextPageLink ( this feed ) : System.ServiceModel.Syndication.SyndicationLink
feed this
Результат System.ServiceModel.Syndication.SyndicationLink
        public static SyndicationLink GetNextPageLink(this SyndicationFeed feed)
        {
            if (feed == null)
            {
                throw new ArgumentNullException("feed");
            }
            SyndicationLink nextPageLink = feed.Links.Where((link) =>(link.RelationshipType == "next")).SingleOrDefault();
            return nextPageLink;
        }