Class XmlIgnorePropertyAttribute
- Namespace
- NMF.Serialization
- Assembly
- NMF.Serialization.dll
Attribute to hide a property from serialization
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = true)]
public sealed class XmlIgnorePropertyAttribute : Attribute
- Inheritance
-
XmlIgnorePropertyAttribute
- Inherited Members
Constructors
XmlIgnorePropertyAttribute(string)
Creates a XmlIgnorePropertyAttribute
public XmlIgnorePropertyAttribute(string property)
Parameters
propertystringName of the property that should be hidden for serialization
Properties
Property
Name of the property that should be hidden for serialization
public string Property { get; }