Composite.Data.PageNode.GetPageIds C# (CSharp) Method

GetPageIds() public method

Return the Page Id's that is with the SitemapScope of this page-
public GetPageIds ( SitemapScope scope ) : IEnumerable
scope SitemapScope The scope.
return IEnumerable
        public IEnumerable<Guid> GetPageIds(SitemapScope scope) 
        {
            if (scope < SitemapScope.Current || scope > SitemapScope.SiblingsAndSelf) throw new ArgumentOutOfRangeException("scope");

            return PageStructureInfo.GetAssociatedPageIds(_page.Id, scope);
        }