Udostępnij za pośrednictwem


TextFieldParser does not support comment tokens that contain whitespace

A comment token that contains white space has been supplied. The TextFieldParser does not support comment tokens that contain white space unless the white space occurs at the beginning of the token. White space occurring at the beginning of a token is ignored.

To correct this error

  • Supply a correct comment token.

See Also

Concepts

Parsing Text Files with the TextFieldParser Object

Reference

TextFieldParser.CommentTokens Property

TextFieldParser Object