PolymorphismSchemaForContextSpecifiedDictionary Method |
Creates a new instance of the
PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax [EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static PolymorphismSchema ForContextSpecifiedDictionary(
Type targetType,
PolymorphismSchema keySchema,
PolymorphismSchema valueSchema
)
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
Public Shared Function ForContextSpecifiedDictionary (
targetType As Type,
keySchema As PolymorphismSchema,
valueSchema As PolymorphismSchema
) As PolymorphismSchema
public:
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
static PolymorphismSchema^ ForContextSpecifiedDictionary(
Type^ targetType,
PolymorphismSchema^ keySchema,
PolymorphismSchema^ valueSchema
)
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
static member ForContextSpecifiedDictionary :
targetType : Type *
keySchema : PolymorphismSchema *
valueSchema : PolymorphismSchema -> PolymorphismSchema
Parameters
- targetType
- Type: SystemType
The type of the serialization target. - keySchema
- Type: MsgPack.SerializationPolymorphismSchema
The schema for dictionary keys of the serialization target dictionary. - valueSchema
- Type: MsgPack.SerializationPolymorphismSchema
The schema for dictionary values of the serialization target dictionary.
Return Value
Type:
PolymorphismSchemaA new instance of the
PolymorphismSchema class for dictionary object which uses declared type or context specified concrete type.
Exceptions See Also