class DesignerSerializationVisibilityAttribute

in global :: System . ComponentModel

Specifies the type of persistence to use when serializing a property on a component at design time.


public DesignerSerializationVisibilityAttribute( DesignerSerializationVisibility visibility )

Initializes a new instance of the class using the specified value.

  • visibility One of the values.

public static DesignerSerializationVisibilityAttribute Content

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

public static DesignerSerializationVisibilityAttribute Default

Specifies the default value, which is , that is, a visual designer uses default rules to generate the value of a property. This field is read-only.

public bool Equals( object obj )

Indicates whether this instance and a specified object are equal.

  • obj Another object to compare to.
  • Returns if is equal to this instance; otherwise, .

public static DesignerSerializationVisibilityAttribute Hidden

Specifies that a serializer should not serialize the value of the property. This field is read-only.

public DesignerSerializationVisibility Visibility { get; }

Gets a value indicating the basic serialization mode a serializer should use when determining whether and how to persist the value of a property.

  • Returns One of the values. The default is .

public static DesignerSerializationVisibilityAttribute Visible

Specifies that a serializer should be allowed to serialize the value of the property. This field is read-only.

public int GetHashCode( )

😔 No documentation found.

public bool IsDefaultAttribute( )

😔 No documentation found.

public object TypeId { get; }

😔 No documentation found.

public bool Match( object obj )

😔 No documentation found.

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.