CyberStore E-Payment 2023 Documentation
GetItemPhoto Method


Dovetail.Ecommerce.Controls Namespace > CatalogItemImageControl Class : GetItemPhoto Method
Stockcode of Item.
The folder name of the image to look for.
the item.
[out] True to file exists.
Returns the location of the image associated with an item.
Syntax
'Declaration
 
Public Function GetItemPhoto( _
   ByVal stockCode As String, _
   ByVal baseLocation As String, _
   ByVal theItem As DataRow, _
   ByRef fileExists As Boolean _
) As String
'Usage
 
Dim instance As CatalogItemImageControl
Dim stockCode As String
Dim baseLocation As String
Dim theItem As DataRow
Dim fileExists As Boolean
Dim value As String
 
value = instance.GetItemPhoto(stockCode, baseLocation, theItem, fileExists)

Parameters

stockCode
Stockcode of Item.
baseLocation
The folder name of the image to look for.
theItem
the item.
fileExists
[out] True to file exists.

Return Value

Type: String

A string value that specifies the location of the image associated with an item.

Remarks
Benjamin J. Higgins, 3/22/2012.
See Also

Reference

CatalogItemImageControl Class
CatalogItemImageControl Members