'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)
public string GetItemPhoto( string stockCode, string baseLocation, DataRow theItem, out bool 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.