Class IgnoreAttribute
- Namespace
- CsvHelper.Configuration.Attributes
- Assembly
- CsvHelper.dll
Ignore the member when reading and writing. If this member has already been mapped as a reference member, either by a class map, or by automapping, calling this method will not ignore all the child members down the tree that have already been mapped.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class IgnoreAttribute : Attribute, IMemberMapper, IMemberReferenceMapper, IParameterMapper
- Inheritance
-
IgnoreAttribute
- Implements
- Inherited Members
Constructors
IgnoreAttribute()
public IgnoreAttribute()
Methods
ApplyTo(MemberMap)
public void ApplyTo(MemberMap memberMap)
Parameters
memberMap
MemberMap
ApplyTo(MemberReferenceMap)
public void ApplyTo(MemberReferenceMap referenceMap)
Parameters
referenceMap
MemberReferenceMap
ApplyTo(ParameterMap)
public void ApplyTo(ParameterMap parameterMap)
Parameters
parameterMap
ParameterMap