Leadtools.Medical.Caching Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.03.01
Insert Method
See Also 
Leadtools.Medical.Caching.Storage Namespace > IStorageProvider Interface : Insert Method



name
A String representing the user context
Id
A String that identifies the item to be stored.
data
The an array of Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the CacheItemPriority enumeration.
name
A String representing the user context
Id
A String that identifies the item to be stored.
data
The an array of Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the CacheItemPriority enumeration.
Add a new item into the user context store.

Syntax

Visual Basic (Declaration) 
Overridable Sub Insert( _
   ByVal name As String, _
   ByVal Id As String, _
   ByVal data() As Byte, _
   ByVal priority As CacheItemPriority _
) 
Visual Basic (Usage)Copy Code
Dim instance As IStorageProvider
Dim name As String
Dim Id As String
Dim data() As Byte
Dim priority As CacheItemPriority
 
instance.Insert(name, Id, data, priority)
C# 
virtual void Insert( 
   string name,
   string Id,
   byte[] data,
   CacheItemPriority priority
)
C++/CLI 
virtual void Insert( 
   String^ name,
   String^ Id,
   array<byte>^ data,
   CacheItemPriority priority
) 

Parameters

name
A String representing the user context
Id
A String that identifies the item to be stored.
data
The an array of Byte to be inserted as the item information.
priority
The precedence of the stored item relative to other items stored, check the CacheItemPriority enumeration.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Vista, Windows Server 2003 family, Windows Server 2008 family

See Also

Insert requires a Web Viewer Framework Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features