XsdDataContractExporter.CanExport Method

 

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

Namespace:   System.Runtime.Serialization
Assembly:  System.Runtime.Serialization (in System.Runtime.Serialization.dll)

NameDescription
System_CAPS_pubmethodCanExport(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.

System_CAPS_pubmethodCanExport(ICollection<Type>)

Gets a value that indicates whether the set of .common language runtime (CLR) types contained in a ICollection<T> can be exported.

System_CAPS_pubmethodCanExport(Type)

Gets a value that indicates whether the specified common language runtime (CLR) type can be exported.

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.

Return to top
Show: