OutputFormatter.CanWriteType(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.