Jaa


PropertyNames 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.GetProperties object.].

(Obsolete) Use GetProperties instead. Gets the names of all of the properties in this Catalog System.

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

Syntax

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

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

Property Value

Type: Microsoft.CommerceServer.Runtime..::.ReadOnlyStringCollection
A ReadOnlyStringCollection object containing all the property names 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