DesignerSerializationVisibility Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
Fields
Name | Value | Description |
---|---|---|
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.