XmlSerializerOutputFormatter.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:
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
.