XmlSerializerOutputFormatter.CanWriteType(Type) Method

Definition

Returns a value indicating whether or not the given type can be written by this serializer.

protected:
 override bool CanWriteType(Type ^ type);
protected override bool CanWriteType (Type type);
protected override bool CanWriteType (Type? type);
override this.CanWriteType : Type -> bool
Protected Overrides Function CanWriteType (type As Type) As Boolean

Parameters

type
Type

The object type.

Returns

true if the type can be written, otherwise false.

Applies to