OutputFormatter.CanWriteType(Type) Method

Definition

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

protected:
 virtual bool CanWriteType(Type ^ type);
protected virtual bool CanWriteType (Type type);
protected virtual bool CanWriteType (Type? type);
abstract member CanWriteType : Type -> bool
override this.CanWriteType : Type -> bool
Protected Overridable 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