Export (0) Print
Expand All

RootDesignerSerializerAttribute Class

Indicates the base serializer to use for a root designer object. This class cannot be inherited.

For a list of all members of this type, see RootDesignerSerializerAttribute Members.


[Visual Basic]
<AttributeUsage(AttributeTargets.Class Or _
NotInheritable Public Class RootDesignerSerializerAttribute
   Inherits Attribute
[AttributeUsage(AttributeTargets.Class |
public sealed class RootDesignerSerializerAttribute : Attribute
[AttributeUsage(AttributeTargets::Class |
public __gc __sealed class RootDesignerSerializerAttribute :
   public Attribute
   AttributeUsage(AttributeTargets.Class | AttributeTargets.Interface)
class RootDesignerSerializerAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


RootDesignerSerializerAttribute indicates the serializer to use when the serialization manager serializes the design document, and whether the specified serializer supports automatic reloading of the design document without first completely disposing of the document.

This attribute contains the following significant members:

  • SerializerTypeName indicates what serialization object to use to serialize the class at design time.
  • SerializerBaseTypeName indicates the fully qualified name of the serialization object's base type.
  • Reloadable indicates whether the serializer supports reloading a design document without user interaction to open a new designer view.


The following example code applies a RootDesignerSerializerAttribute to a component.


Namespace: System.ComponentModel.Design.Serialization

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

RootDesignerSerializerAttribute Members | System.ComponentModel.Design.Serialization Namespace | DesignerSerializerAttribute

© 2014 Microsoft