Click or drag to resize
PolymorphismSchemaForPolymorphicObject Method (Type)
Creates a new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.

Namespace: MsgPack.Serialization
Assembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax
[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static PolymorphismSchema ForPolymorphicObject(
	Type targetType
)

Parameters

targetType
Type: SystemType
The type of the serialization target.

Return Value

Type: PolymorphismSchema
A new instance of the PolymorphismSchema class for non-collection object which uses type embedding based polymorphism.
Exceptions
ExceptionCondition
ArgumentNullExceptiontargetType is null.
See Also