UnicodeLineBreak Struct
Represents a position where a line can or must break.
public readonly struct UnicodeLineBreak : IEquatable<UnicodeLineBreak>- Implements
Properties
| Name | Description |
|---|---|
| Index | Gets the index of the first UTF-16 code unit of the next line: the line breaks before it. |
| IsMandatory | Gets a value indicating whether the line must break: after a line feed, a paragraph separator and the like, and at the end of the text. |
Index
UnicodeLineBreak.csIsMandatory
UnicodeLineBreak.csMethods
| Name | Description |
|---|---|
| Equals(UnicodeLineBreak) | Indicates whether the current object is equal to another object of the same type. |
| Equals(object?) | Indicates whether this instance and a specified object are equal. |
| GetHashCode() | Returns the hash code for this instance. |
Equals overloads
Equals(UnicodeLineBreak)
UnicodeLineBreak.csIndicates whether the current object is equal to another object of the same type.
public bool Equals(UnicodeLineBreak other)Parameters
otherUnicodeLineBreak- An object to compare with this object.
Returns
bool true if the current object is equal to the other parameter; otherwise, false.
Equals(object?)
UnicodeLineBreak.csGetHashCode()
UnicodeLineBreak.csOperators
| Name | Description |
|---|---|
| operator ==(UnicodeLineBreak, UnicodeLineBreak) | Determines whether two values are equal. |
| operator !=(UnicodeLineBreak, UnicodeLineBreak) | Determines whether two values are different. |
operator ==(UnicodeLineBreak, UnicodeLineBreak)
UnicodeLineBreak.csDetermines whether two values are equal.
public static bool operator ==(UnicodeLineBreak left, UnicodeLineBreak right)Parameters
leftUnicodeLineBreak- The first value.
rightUnicodeLineBreak- The second value.
Returns
bool true when the values are equal.
operator !=(UnicodeLineBreak, UnicodeLineBreak)
UnicodeLineBreak.csDetermines whether two values are different.
public static bool operator !=(UnicodeLineBreak left, UnicodeLineBreak right)Parameters
leftUnicodeLineBreak- The first value.
rightUnicodeLineBreak- The second value.
Returns
bool true when the values are different.