ClassComponentXmlSerializationInfo
Instances of this type are used by ComponentXmlSerializer to provide information used to control XML of properties and sub-objects.
Definition
Namespace:Telerik.WinControls.XmlSerialization
Assembly:Telerik.WinControls.dll
Syntax:
public class ComponentXmlSerializationInfo
Inheritance: objectComponentXmlSerializationInfo
Derived Classes:
Constructors
ComponentXmlSerializationInfo(PropertySerializationMetadataCollection)
Initializes a new instance of the ComponentXmlSerializationInfo class.
Declaration
public ComponentXmlSerializationInfo(PropertySerializationMetadataCollection serializationMetadata)
Parameters
serializationMetadata
PropertySerializationMetadataCollection
A collection of attributes for properties that would override the original designer serialization metadata for these properties
Properties
DisregardOriginalSerializationVisibility
Gets or sets value indicating whether the serializer will use the serialization visibility attributes of the properties of the serialized objects or only those found in SerializationMetadata
Declaration
public bool DisregardOriginalSerializationVisibility { get; set; }
Property Value
SerializationMetadata
Gets a collection of attributes for properties that would override the original designer serialization metadata for these properties
Declaration
public PropertySerializationMetadataCollection SerializationMetadata { get; }
Property Value
SerializeDefaultValues
Gets or sets value indicating whether the serializer will force serialization of properties, disregarding the values of the DefaultValue attribute or ShouldSerialize method