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
- 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.