ProductDefinitionNames 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 of the product definitions in this Catalog System.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
<ObsoleteAttribute("CatalogContext.ProductDefinitionNames is obsolete, please use CatalogContext.GetDefinitions() instead.")> _
Public ReadOnly Property ProductDefinitionNames As ReadOnlyStringCollection
'Usage
Dim instance As CatalogContext
Dim value As ReadOnlyStringCollection
value = instance.ProductDefinitionNames
[ObsoleteAttribute("CatalogContext.ProductDefinitionNames is obsolete, please use CatalogContext.GetDefinitions() instead.")]
public ReadOnlyStringCollection ProductDefinitionNames { get; }
[ObsoleteAttribute(L"CatalogContext.ProductDefinitionNames is obsolete, please use CatalogContext.GetDefinitions() instead.")]
public:
property ReadOnlyStringCollection^ ProductDefinitionNames {
ReadOnlyStringCollection^ get ();
}
public function get ProductDefinitionNames () : ReadOnlyStringCollection
Property Value
Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection object containing all the product 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
- 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.