Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CanExport Method

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.

Show:
© 2015 Microsoft