Delimiter class
Estimated reading time: 2 minutes
Represents a delimiter in a data stream.
Namespace: ASNA.DataGate.Client.CopyData Assembly: ASNA.QSys.DataGate.Client.dll
Inheritance: Object
Remarks
The Delimiter class is used to represent a delimiter in a data stream. It provides a set of static properties that return commonly used delimiters, such as newline, carriage return, and line feed. It also provides methods and operators for comparing delimiters, converting them to characters and strings, and checking if they represent no delimiter.
Constructors
| Name | Description |
|---|---|
| Delimiter() | Initializes a new instance of the class. |
| Delimiter(Char) | Initializes a new instance of the class with a specified value. |
Properties
| Type | Name | Description |
|---|---|---|
| Boolean | IsStarNone | Gets a value indicating whether this instance represents no delimiter. |
| Delimiter | NewLine | Constant new line delimiter |
| Delimiter | None | Get new Delimiter instance that represents no delimiter |
| Delimiter | StarAll | Gets a new instance of the class that represents a newline delimiter. |
| Delimiter | StarCR | Gets a new instance of the class that represents a carriage return delimiter. |
| Delimiter | StarCRLF | Gets a new instance of the class that represents a carriage return and line feed delimiter. |
| Delimiter | StarLFCR | Gets a new instance of the class that represents a line feed followed by a carriage return delimiter. |
| Delimiter | StartLF | Gets a new instance of the class that represents a line feed delimiter. |
| Char | Value | Gets or sets the value of this instance. |
Methods
| Signature | Description |
|---|---|
| ClearValue() | Clears the value of this instance, making it represent no delimiter. |
| Equals(Object) | Determines whether the specified object is equal to the current object. |
| FromChar(Char) | Creates a new instance from a given character. |
| GetHashCode() | Serves as the default hash function. |
| op_Equality(Delimiter, Delimiter) | Determines whether two instances are equal. |
| op_Inequality(Delimiter, Delimiter) | Determines whether two instances are not equal. |
| ToChar() | Converts the value of this instance to a . |
| ToString() | Returns a string that represents the current object. |