Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ControlChars Class

ControlChars Class

The ControlChars module contains constants used as control characters. These constants can be used anywhere in your code.


Namespace:  Microsoft.VisualBasic
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

type ControlChars =  class end

The ControlChars type exposes the following members.

Public methodControlCharsInitializes a new instance of the ControlChars class.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public fieldStatic memberBackRepresents a backspace character (vbBack).
Public fieldStatic memberCrRepresents a carriage return character (vbCr).
Public fieldStatic memberCrLfRepresents a carriage return/linefeed character combination (vbCrLf).
Public fieldStatic memberFormFeedRepresents a form feed character for print functions (vbFormFeed).
Public fieldStatic memberLfRepresents a line feed character (vbLf).
Public fieldStatic memberNewLineRepresents a new line character (vbNewLine).
Public fieldStatic memberNullCharRepresents a null character (vbNullChar).
Public fieldStatic memberQuoteRepresents a double-quote character.
Public fieldStatic memberTabRepresents a tab character (vbTab).
Public fieldStatic memberVerticalTabRepresents a vertical tab character (vbVerticalTab).

This module supports the Visual Basic language keywords and run-time library members that provide constant control characters for printing and displaying text. For more information, see Constants and Enumerations (Visual Basic).

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft