Share via


Insert Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Core (in Microsoft.ApplicationServer.Caching.Core.dll)

Syntax

'Declaration
Public Function Insert ( _
    transactionContext As Object, _
    type As String, _
    key As String, _
    data As Byte(), _
    version As Long _
) As Boolean
'Usage
Dim instance As CustomProviderProxy
Dim transactionContext As Object
Dim type As String
Dim key As String
Dim data As Byte()
Dim version As Long
Dim returnValue As Boolean

returnValue = instance.Insert(transactionContext, _
    type, key, data, version)
public bool Insert(
    Object transactionContext,
    string type,
    string key,
    byte[] data,
    long version
)
public:
virtual bool Insert(
    Object^ transactionContext, 
    String^ type, 
    String^ key, 
    array<unsigned char>^ data, 
    long long version
) sealed
abstract Insert : 
        transactionContext:Object * 
        type:string * 
        key:string * 
        data:byte[] * 
        version:int64 -> bool 
override Insert : 
        transactionContext:Object * 
        type:string * 
        key:string * 
        data:byte[] * 
        version:int64 -> bool 
public final function Insert(
    transactionContext : Object, 
    type : String, 
    key : String, 
    data : byte[], 
    version : long
) : boolean

Parameters

Return Value

Type: System. . :: . .Boolean
Returns Boolean.

Implements

ICustomProvider. . :: . .Insert(Object, String, String, array<Byte> [] () [] [], Int64)

See Also

Reference

CustomProviderProxy Class

Microsoft.ApplicationServer.Caching Namespace