Stream to the physical file holding the data for the specified item.
'Declaration
Public Function GetStream( _
ByVal As String, _
ByVal As FileMode, _
ByVal As FileAccess, _
ByVal As FileShare _
) As Stream
'Usage
Dim instance As FileCache
Dim filePath As String
Dim mode As FileMode
Dim access As FileAccess
Dim share As FileShare
Dim value As Stream
value = instance.GetStream(filePath, mode, access, share)
public CacheInputStream getInputStream(String filePath)
public CacheOutputStream getOutputStream(String filePath)
Parameters
- filePath
- File path in the cache. Usually obtained with GetCacheFilePath.
- mode
- Requested file mode.
- access
- Requested file access.
- share
- Requested file share.
Return Value
A stream to physical file holding the data for the specified item.