PolymorphismSchemaForPolymorphicTuple Method |
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static PolymorphismSchema ForPolymorphicTuple(
Type targetType,
PolymorphismSchema[] itemSchemaList
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function ForPolymorphicTuple (
targetType As Type,
itemSchemaList As PolymorphismSchema()
) As PolymorphismSchema
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static PolymorphismSchema^ ForPolymorphicTuple(
Type^ targetType,
array<PolymorphismSchema^>^ itemSchemaList
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member ForPolymorphicTuple :
targetType : Type *
itemSchemaList : PolymorphismSchema[] -> PolymorphismSchema
Parameters
- targetType
- Type: SystemType
The type of the serialization target. - itemSchemaList
- Type: MsgPack.SerializationPolymorphismSchema
The schema for collection items of the serialization target tuple. null or empty indicates all items do not have any polymorphism.
Return Value
Type:
PolymorphismSchemaA new instance of the
PolymorphismSchema class for
Tuple object.
Exceptions See Also