Category.AncestorCategoryNames Property (BCL)
The AncestorCategoryNames property is a read-only String that gets the names of all categories that are above this category in the category hierarchy.
Definition
[Visual Basic .NET]
Overridable Public ReadOnly Property AncestorCategoryNames As ReadOnlyStringCollection
[C#]
public virtual ReadOnlyStringCollection AncestorCategoryNames{get;}
Property Value
A ReadOnlyStringCollection that contains the categories.
Remarks
If this category is a root category, the returned array is empty.
Throws a CatalogException on failure.
The list of ancestor category names is cached. Call the CatalogContextRefresh method to explicitly refresh this cached data.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.