System.ServiceModel.Syndication.SyndicationFeedExtensions.GetNextPageLink C# (CSharp) Method

GetNextPageLink() public static method

public static GetNextPageLink ( this feed ) : System.ServiceModel.Syndication.SyndicationLink
feed this
return 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;
        }