IgnoreAttribute Class
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.
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IMemberMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IMemberMapper" Type-.->Interface1["IMemberReferenceMapper"] click Interface1 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IMemberReferenceMapper" Type-.->Interface2["IParameterMapper"] click Interface2 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IParameterMapper" Type["IgnoreAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Parameter, AllowMultiple = false, Inherited = true)]
public class IgnoreAttribute : Attribute, IMemberMapper, IMemberReferenceMapper, IParameterMapper

Attributes

Type Description
AttributeUsage

Methods

Name Return Value Summary
ApplyTo(MemberMap) void
Applies configuration to the given MemberMap.
ApplyTo(MemberReferenceMap) void
Applies configuration to the given MemberReferenceMap.
ApplyTo(ParameterMap) void
Applies configuration to the given ParameterMap.