System.ComponentModel.DesignerSerializationVisibilityAttribute.Content Field

Specifies that a serializer should serialize the contents of the property, rather than the property itself. This field is read-only.

Syntax

public static readonly DesignerSerializationVisibilityAttribute Content

Remarks

When you mark a property with DesignerSerializationVisibilityAttribute.Content, the value of its DesignerSerializationVisibilityAttribute.Visibility property is set to DesignerSerializationVisibilityAttribute.Content.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0