DesignerSerializationVisibility DesignerSerializationVisibility DesignerSerializationVisibility DesignerSerializationVisibility Enum

Definition

Specifies the visibility a property has to the design-time serializer.

public enum class DesignerSerializationVisibility
[System.Runtime.InteropServices.ComVisible(true)]
public enum DesignerSerializationVisibility
type DesignerSerializationVisibility = 
Public Enum DesignerSerializationVisibility
Inheritance
DesignerSerializationVisibilityDesignerSerializationVisibilityDesignerSerializationVisibilityDesignerSerializationVisibility
Attributes

Fields

Content Content Content Content 2

The code generator produces code for the contents of the object, rather than for the object itself.

Hidden Hidden Hidden Hidden 0

The code generator does not produce code for the object.

Visible Visible Visible Visible 1

The code generator produces code for the object.

Examples

For an example of using the DesignerSerializationVisibility enumerator, please see the sample code at DesignerSerializationVisibilityAttribute.

Remarks

A visual designer uses a DesignerSerializationVisibility value to indicate which aspects of the property or event should be examined and saved.

Applies to

See also