Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

XsdDataContractExporter.CanExport Method

Gets a value that indicates whether a common language runtime (CLR) type (or set of types) can be exported.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method CanExport(ICollection<Assembly>) Gets a value that indicates whether the set of .common language runtime (CLR) types contained in a set of assemblies can be exported.
Public method CanExport(ICollection<Type>) Gets a value that indicates whether the set of .common language runtime (CLR) types contained in a ICollection<T> can be exported.
Public method CanExport(Type) Gets a value that indicates whether the specified common language runtime (CLR) type can be exported.
Top

Not all CLR types can be used in data contracts. For more information about what can be serialized, see Types Supported by the Data Contract Serializer.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.