Export (0) Print
Expand All
Expand Minimize

DesignerSerializationVisibility Enumeration

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

[Visual Basic]
<Serializable>
<ComVisible(True)>
Public Enum DesignerSerializationVisibility
[C#]
[Serializable]
[ComVisible(true)]
public enum DesignerSerializationVisibility
[C++]
[Serializable]
[ComVisible(true)]
__value public enum DesignerSerializationVisibility
[JScript]
public
   Serializable
 ComVisible(true)
enum DesignerSerializationVisibility

Remarks

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

Members

Member name Description
Content The code generator produces code for the contents of the object, rather than for the object itself.
Hidden The code generator does not produce code for the object.
Visible The code generator produces code for the object.

Example

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

Requirements

Namespace: System.ComponentModel

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

System.ComponentModel Namespace | DesignerSerializationVisibilityAttribute

Show:
© 2014 Microsoft