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
- 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.
See Also
Reference
CatalogsDataSet..::.CatalogsDataTable Class