Serializer.AddToCache (Object, ISurrogateWithReferenceId) Method

For internal use only. Adds the specified key and value to the serializer cache for the current thread during the serialization process.
Public Shared Sub AddToCache( _ 
ByVal objKey As Object, _ 
ByVal objValue As ISurrogateWithReferenceId
)
This language is not supported or no code example is available.
public static void AddToCache( 
object objKey
ISurrogateWithReferenceId objValue 
)
This language is not supported or no code example is available.

Parameters

objKey
object

The the element to add as key.

objValue
ISurrogateWithReferenceId

The value of the element to add.

Remarks
 
The ISurrogateWithReferenceId.ReferenceId is updated for objValue

.NET Framework

Supported in: 4.8

In this article

Definition