XmlMediaTypeFormatter.RemoveSerializer Method (Type)

 

Unregisters the serializer currently associated with the given type.

Namespace:   System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

public bool RemoveSerializer(
	Type type
)

Parameters

type
Type: System.Type

The type of object whose serializer should be removed.

Return Value

Type: System.Boolean

true if a serializer was previously registered for the type; otherwise, false.

Return to top
Show: