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);
}