Επεξεργασία

Κοινή χρήση μέσω


DesignerSerializationVisibility Enum

Definition

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

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

Fields

Name Value Description
Hidden 0

The code generator does not produce code for the object.

Visible 1

The code generator produces code for the object.

Content 2

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

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