Product.ParentCategoryNames Property (BCL)
The ParentCategoryNames property gets the names of the categories that are immediate parents of this product in the category hierarchy.
Definition
[Visual Basic .NET]
Overridable Public ReadOnly Property ParentCategoryNames As ReadOnlyStringCollection
[C#]
public virtual ReadOnlyStringCollection ParentCategoryNames{get;}
Property Value
ReadOnlyStringCollection that contains the names of the categories that are immediate parents of this product in the category hierarchy.
Remarks
This data is cached. To refresh it, call the CatalogContext.Refresh method explicitly.
If this product is a root product, the returned array is empty.
Throws a CatalogException on failure.
Requirements
Namespace: Microsoft.CommerceServer.Runtime.Catalog
Platforms: Windows 2000, Windows Server 2003
Assembly: Microsoft.CommerceServer.Runtime.dll
Copyright © 2005 Microsoft Corporation.
All rights reserved.