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.

System.Object
   System.Attribute
      System.ComponentModel.Design.Serialization.RootDesignerSerializerAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.Class Or _
   AttributeTargets.Interface)>
NotInheritable Public Class RootDesignerSerializerAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.Class |
   AttributeTargets.Interface)]
public sealed class RootDesignerSerializerAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::Class |
   AttributeTargets::Interface)]
public __gc __sealed class RootDesignerSerializerAttribute :
   public Attribute
[JScript]
public
   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.

Remarks

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.

Example

The following example code applies a RootDesignerSerializerAttribute to a component.

Requirements

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

Show:
© 2014 Microsoft