Share via


ParentCategoryNames Property

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Gets a collection containing the names of the parent categories of this item.

Namespace:  Microsoft.CommerceServer.Catalog
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public ReadOnly Property ParentCategoryNames As ReadOnlyStringCollection
'Usage
Dim instance As CatalogItem
Dim value As ReadOnlyStringCollection

value = instance.ParentCategoryNames
public ReadOnlyStringCollection ParentCategoryNames { get; }
public:
property ReadOnlyStringCollection^ ParentCategoryNames {
    ReadOnlyStringCollection^ get ();
}
public function get ParentCategoryNames () : ReadOnlyStringCollection

Property Value

Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection containing the parent category's names of this item.

Remarks

The ReadOnlyStringCollection contains the names of the categories that are immediate parents of this category item.

Permissions

See Also

Reference

CatalogItem Class

CatalogItem Members

Microsoft.CommerceServer.Catalog Namespace