OutputFormatter.CanWriteType(Type) Metoda

Definice

Vrátí hodnotu určující, zda daný typ lze zapsat tímto serializátorem.

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

Parametry

type
Type

Typ objektu.

Návraty

Boolean

true pokud typ lze zapsat, jinak nepravda.

Platí pro