Partager via


FindByCatalogId Method

Searches the CatalogsDataTable and returns a CatalogsDataSet..::.Catalog, that matches the search criteria.

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

Syntax

'Declaration
Public Function FindByCatalogId ( _
    CatalogId As Integer _
) As CatalogsDataSet..::.Catalog
'Usage
Dim instance As CatalogsDataSet..::.CatalogsDataTable
Dim CatalogId As Integer
Dim returnValue As CatalogsDataSet..::.Catalog

returnValue = instance.FindByCatalogId(CatalogId)
public CatalogsDataSet..::.Catalog FindByCatalogId(
    int CatalogId
)
public:
CatalogsDataSet..::.Catalog^ FindByCatalogId(
    int CatalogId
)
public function FindByCatalogId(
    CatalogId : int
) : CatalogsDataSet..::.Catalog

Parameters

  • CatalogId
    Type: System..::.Int32
    The CatalogId, the catalog identifier to search upon.

Return Value

Type: Microsoft.CommerceServer.Catalog..::.CatalogsDataSet..::.Catalog
The catalog within the Dataset that is matches the search criteria.

Remarks

Returns a Catalog that matches the search criteria.

Permissions

See Also

Reference

CatalogsDataSet..::.CatalogsDataTable Class

CatalogsDataSet..::.CatalogsDataTable Members

Microsoft.CommerceServer.Catalog Namespace