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)
Syntax
public bool RemoveSerializer(
Type type
)
public:
bool RemoveSerializer(
Type^ type
)
member RemoveSerializer :
type:Type -> bool
Public Function RemoveSerializer (
type As Type
) As Boolean
Parameters
type
Type: System.TypeThe 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.
See Also
XmlMediaTypeFormatter Class
System.Net.Http.Formatting Namespace
Return to top