IncludePrivateMembersAttribute Class
A value indicating whether private members should be read from and written to.
Namespace
CsvHelper.Configuration.Attributes
Interfaces
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IClassMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper" Type["IncludePrivateMembersAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class IncludePrivateMembersAttribute : Attribute, IClassMapper

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
IncludePrivateMembersAttribute(bool) A value indicating whether private members should be read from and written to.

Properties

Name Property Type Summary
IncludePrivateMembers bool
Gets a value indicating whether private members should be read from and written to.

Methods

Name Return Value Summary
ApplyTo(CsvConfiguration) void
Applies configuration.