Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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
'Declaration
Public Function RemoveSerializer ( _
type As Type _
) As Boolean
'Usage
Dim instance As XmlMediaTypeFormatter
Dim type As Type
Dim returnValue As Boolean
returnValue = instance.RemoveSerializer(type)
public bool RemoveSerializer(
Type type
)
public:
bool RemoveSerializer(
Type^ type
)
member RemoveSerializer :
type:Type -> bool
public function RemoveSerializer(
type : Type
) : boolean
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.
Remarks
You can register another serializer for the type by calling SetSerializer(). If no serializer is registered for a particular type, the formatter uses the default serializer.