Partilhar via


CategoryDefinitionNames Property

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

NOTE: This API is now obsolete. The non-obsolete alternative is [A M:Microsoft.CommerceServer.Catalog.CatalogContext.GetDefinitions object.].

(Obsolete) Use GetDefinitions instead. Gets the names of all category definitions in the Product Catalog System.

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

Syntax

'Declaration
<ObsoleteAttribute("CatalogContext.CategoryDefinitionNames is obsolete, use CatalogContext.GetDefinitions() instead")> _
Public ReadOnly Property CategoryDefinitionNames As ReadOnlyStringCollection
'Usage
Dim instance As CatalogContext
Dim value As ReadOnlyStringCollection

value = instance.CategoryDefinitionNames
[ObsoleteAttribute("CatalogContext.CategoryDefinitionNames is obsolete, use CatalogContext.GetDefinitions() instead")]
public ReadOnlyStringCollection CategoryDefinitionNames { get; }
[ObsoleteAttribute(L"CatalogContext.CategoryDefinitionNames is obsolete, use CatalogContext.GetDefinitions() instead")]
public:
property ReadOnlyStringCollection^ CategoryDefinitionNames {
    ReadOnlyStringCollection^ get ();
}
public function get CategoryDefinitionNames () : ReadOnlyStringCollection

Property Value

Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection that contains the names of all category definitions in the Product Catalog System.

Remarks

The CatalogContext object caches this list since it is frequently used in Commerce Server sites. To refresh the list, call the Refresh method explicitly.

Permissions

See Also

Reference

CatalogContext Class

CatalogContext Members

Microsoft.CommerceServer.Catalog Namespace