MemberNameCollection Class
A collection that holds member names.
Namespace
CsvHelper.Configuration
Interfaces
  • IEnumerable<string>
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IEnumerable<string>"] Type["MemberNameCollection"] class Type type-node

Syntax

public class MemberNameCollection : IEnumerable<string>

Properties

Name Property Type Summary
Count int
Gets the count.
Names List<string>
Gets the raw list of names without the prefix being prepended.
Prefix string
Gets the prefix to use for each name.
this[int] string
Gets the name at the given index. If a prefix is set, it will be prepended to the name.

Methods

Name Return Value Summary
Add(string) void
Adds the given name to the collection.
AddRange(IEnumerable<string>) void
Adds a range of names to the collection.
Clear() void
Clears all names from the collection.
GetEnumerator() IEnumerator<string>
Returns an enumerator that iterates through the collection.