Condividi tramite


ControlChars Class

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Inheritance Hierarchy

System.Object
  Microsoft.VisualBasic.ControlChars

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

Syntax

'Declaration
Public NotInheritable Class ControlChars
public sealed class ControlChars

The ControlChars type exposes the following members.

Constructors

  Name Description
Public method ControlChars Initializes a new instance of the T:Microsoft.VisualBasic.ControlChars class.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member Back When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member Cr When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member CrLf When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member FormFeed When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member Lf When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member NewLine When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member NullChar When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member Quote When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member Tab When you call print and display functions, you can use the following constants in your code in place of the actual values.
Public fieldStatic member VerticalTab When you call print and display functions, you can use the following constants in your code in place of the actual values.

Top

Remarks

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 Print and Display Constants in the Visual Basic documentation.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

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

See Also

Reference