DesignerSerializationVisibilityAttribute.Visible 字段

定义

指定应该允许序列化程序序列化属性的值。Specifies that a serializer should be allowed to serialize the value of the property. static 字段是只读的。This static field is read-only.

public: static initonly System::ComponentModel::DesignerSerializationVisibilityAttribute ^ Visible;
public static readonly System.ComponentModel.DesignerSerializationVisibilityAttribute Visible;
 staticval mutable Visible : System.ComponentModel.DesignerSerializationVisibilityAttribute
Public Shared ReadOnly Visible As DesignerSerializationVisibilityAttribute 

字段值

DesignerSerializationVisibilityAttribute

注解

此字段是此属性的默认设置。This field is the default setting for this attribute.

当使用标记属性时 DesignerSerializationVisibilityAttribute.Visible ,其属性的值 Visibility 将设置为常量成员 VisibleWhen you mark a property with DesignerSerializationVisibilityAttribute.Visible, the value of its Visibility property is set to the constant member Visible.

适用于

另请参阅