CatalogNames 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.GetCatalogs object.].
(Obsolete) Use GetCatalogs instead. Gets the complete list of catalogs known to the Product Catalog System.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
<ObsoleteAttribute("CatalogContext.CatalogNames should not be used, use CatalogContext.GetCatalogs() instead")> _
Public ReadOnly Property CatalogNames As ReadOnlyStringCollection
'Usage
Dim instance As CatalogContext
Dim value As ReadOnlyStringCollection
value = instance.CatalogNames
[ObsoleteAttribute("CatalogContext.CatalogNames should not be used, use CatalogContext.GetCatalogs() instead")]
public ReadOnlyStringCollection CatalogNames { get; }
[ObsoleteAttribute(L"CatalogContext.CatalogNames should not be used, use CatalogContext.GetCatalogs() instead")]
public:
property ReadOnlyStringCollection^ CatalogNames {
ReadOnlyStringCollection^ get ();
}
public function get CatalogNames () : ReadOnlyStringCollection
Property Value
Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection object containing all the catalogs in the Product Catalog System.
Remarks
This class cannot be inherited. This property has been deprecated. Use GetCatalogs instead.
The CatalogContext object caches this list since it is frequently used in Commerce Server sites. To refresh the list, call the Refresh method explicitly. Throws a CatalogException on failure.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.