Share via


RelatedProducts Property

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

Gets the products related to the current catalog item.

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

Syntax

'Declaration
Public ReadOnly Property RelatedProducts As CatalogRelationshipsDataSet
'Usage
Dim instance As CatalogItem
Dim value As CatalogRelationshipsDataSet

value = instance.RelatedProducts
public CatalogRelationshipsDataSet RelatedProducts { get; }
public:
property CatalogRelationshipsDataSet^ RelatedProducts {
    CatalogRelationshipsDataSet^ get ();
}
public function get RelatedProducts () : CatalogRelationshipsDataSet

Property Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogRelationshipsDataSet
A CatalogRelationshipsDataSet containing the Catalog Relationships.

Remarks

Returns a dataset describing the related products of this item.

The multilingual information for the ancestor categories will be in the current ActiveLanguage of the catalog item. The returned dataset will contain all one row for each ancestor category for the catalog item. The dataset will contain all the properties in the catalog. You cannot make any changes to this dataset.

Permissions

See Also

Reference

CatalogItem Class

CatalogItem Members

Microsoft.CommerceServer.Catalog Namespace