XmlDataContractSerializerInputFormatter.GetCachedSerializer(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the cached serializer or creates and caches the serializer for the given type.
protected:
virtual System::Runtime::Serialization::DataContractSerializer ^ GetCachedSerializer(Type ^ type);
protected virtual System.Runtime.Serialization.DataContractSerializer GetCachedSerializer (Type type);
abstract member GetCachedSerializer : Type -> System.Runtime.Serialization.DataContractSerializer
override this.GetCachedSerializer : Type -> System.Runtime.Serialization.DataContractSerializer
Protected Overridable Function GetCachedSerializer (type As Type) As DataContractSerializer
Parameters
- type
- Type
Returns
The DataContractSerializer instance.