Creates an instance of a class that inherits from XmlObjectSerializer for serialization and deserialization operations with an XmlDictionaryString that contains the namespace.
Namespace:
Mindscape.LightSpeed.ServiceModelAssembly: Mindscape.LightSpeed.ServiceModel (in Mindscape.LightSpeed.ServiceModel.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
public override XmlObjectSerializer CreateSerializer( Type type, XmlDictionaryString name, XmlDictionaryString ns, IList<Type> knownTypes ) |
Visual Basic (Declaration) |
---|
Public Overrides Function CreateSerializer ( _ type As Type, _ name As XmlDictionaryString, _ ns As XmlDictionaryString, _ knownTypes As IList(Of Type) _ ) As XmlObjectSerializer |
Parameters
- type
- Type: System..::.Type
The type to serialize or deserialize.
- name
- Type: System.Xml..::.XmlDictionaryString
The name of the serialized type.
- ns
- Type: System.Xml..::.XmlDictionaryString
An XmlDictionaryString that contains the namespace of the serialized type.
- knownTypes
- Type: System.Collections.Generic..::.IList<(Of <(Type>)>)
An IList<(Of <(T>)>) of Type that contains known types.