MESCIUS.ActiveReports.Core.Rdl Assembly / GrapeCity.ActiveReports.Core.Rdl.Persistence.Json Namespace / JsonCoders Class / CollectionDefNull<T,TCollection> Method
The type of the value.
The collection of the Collection values.
A JsonCoder<T> to encode and decode the value.

In This Topic
CollectionDefNull<T,TCollection> Method
In This Topic
Gets a coder for the Collection type with a default value of null.
Syntax
'Declaration
 
Public Shared Function CollectionDefNull
    (Of T,TCollection As {New, Collection(Of T)})( _
   ByVal itemCoder As JsonCoder(Of T) _
) As JsonCoder(Of TCollection)
 

Parameters

itemCoder
A JsonCoder<T> to encode and decode the value.

Type Parameters

T
The type of the value.
TCollection
The collection of the Collection values.

Return Value

A JsonCoder<T> with the default value handling.
See Also