Export (0) Print
Expand All

DataContractSerializerSection.DeclaredTypes Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets a collection of types added to the KnownTypes property.

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

[ConfigurationPropertyAttribute("declaredTypes", DefaultValue = null)]
public DeclaredTypeElementCollection DeclaredTypes { get; }

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft