Serializer.AddToCache (ISurrogateWithReferenceId, Object) 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 ISurrogateWithReferenceId, _ 
ByVal objValue As Object
)
This language is not supported or no code example is available.
public static void AddToCache( 
ISurrogateWithReferenceId objKey
object objValue 
)
This language is not supported or no code example is available.

Parameters

objKey
ISurrogateWithReferenceId

The the element to add as key.

objValue
object

The value of the element to add.

Remarks
 
The ISurrogateWithReferenceId.ReferenceId is updated for objKey

.NET Framework

Supported in: 4.8

In this article

Definition