如何告诉xml序列化忽略属性。 IE等效于xml序列化的Xml Attributes.XmlIgnore属性。
Class MyObject
'Is there an equivalent of this for xaml?
<XmlIgnoreAttribute()> Public Property DontSerializeMe as String
End Class
答案 0 :(得分:2)
是:
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]