SerializationSectionGroup SerializationSectionGroup SerializationSectionGroup SerializationSectionGroup Class

Definition

Handles the XML elements used to configure serialization by the DataContractSerializer.

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

public ref class SerializationSectionGroup sealed : System::Configuration::ConfigurationSectionGroup
public sealed class SerializationSectionGroup : System.Configuration.ConfigurationSectionGroup
type SerializationSectionGroup = class
    inherit ConfigurationSectionGroup
Public NotInheritable Class SerializationSectionGroup
Inherits ConfigurationSectionGroup
Inheritance
SerializationSectionGroupSerializationSectionGroupSerializationSectionGroupSerializationSectionGroup

Remarks

This class is used to handle the <dataContractSerializer> group, which contains the <dataContractSerializer> element, specifically, to allow the addition of types to the collection of known types. For more information about data contract known types, see Data Contract Known Types.

For an example of using the element to add to the known types collection, see <declaredTypes>.

Constructors

SerializationSectionGroup() SerializationSectionGroup() SerializationSectionGroup() SerializationSectionGroup()

Initializes a new instance of the SerializationSectionGroup class.

Properties

DataContractSerializer DataContractSerializer DataContractSerializer DataContractSerializer

Gets the DataContractSerializerSection used to set up the known types collection.

IsDeclarationRequired IsDeclarationRequired IsDeclarationRequired IsDeclarationRequired

Gets a value that indicates whether this ConfigurationSectionGroup object declaration is required.

(Inherited from ConfigurationSectionGroup)
IsDeclared IsDeclared IsDeclared IsDeclared

Gets a value that indicates whether this ConfigurationSectionGroup object is declared.

(Inherited from ConfigurationSectionGroup)
Name Name Name Name

Gets the name property of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
NetDataContractSerializer NetDataContractSerializer NetDataContractSerializer NetDataContractSerializer

Gets the NetDataContractSerializerSection used to set up the known types collection.

SectionGroupName SectionGroupName SectionGroupName SectionGroupName

Gets the section group name associated with this ConfigurationSectionGroup.

(Inherited from ConfigurationSectionGroup)
SectionGroups SectionGroups SectionGroups SectionGroups

Gets a ConfigurationSectionGroupCollection object that contains all the ConfigurationSectionGroup objects that are children of this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Sections Sections Sections Sections

Gets a ConfigurationSectionCollection object that contains all of ConfigurationSection objects within this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
Type Type Type Type

Gets or sets the type for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
ForceDeclaration() ForceDeclaration() ForceDeclaration() ForceDeclaration()

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
ForceDeclaration(Boolean) ForceDeclaration(Boolean) ForceDeclaration(Boolean) ForceDeclaration(Boolean)

Forces the declaration for this ConfigurationSectionGroup object.

(Inherited from ConfigurationSectionGroup)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSectionGroup(Configuration) GetSectionGroup(Configuration) GetSectionGroup(Configuration) GetSectionGroup(Configuration)

Gets the serialization configuration section for the specified configuration.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ShouldSerializeSectionGroupInTargetVersion(FrameworkName) ShouldSerializeSectionGroupInTargetVersion(FrameworkName) ShouldSerializeSectionGroupInTargetVersion(FrameworkName) ShouldSerializeSectionGroupInTargetVersion(FrameworkName)

Indicates whether the current ConfigurationSectionGroup instance should be serialized when the configuration object hierarchy is serialized for the specified target version of the .NET Framework.

(Inherited from ConfigurationSectionGroup)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also