CharacterBufferRange 结构
定义
描述一个字符串。Describes a string of characters.
public value class CharacterBufferRange : IEquatable<System::Windows::Media::TextFormatting::CharacterBufferRange>
public struct CharacterBufferRange : IEquatable<System.Windows.Media.TextFormatting.CharacterBufferRange>
type CharacterBufferRange = struct
Public Structure CharacterBufferRange
Implements IEquatable(Of CharacterBufferRange)
- 继承
- 实现
构造函数
CharacterBufferRange(Char*, Int32) |
从非托管字符串初始化 CharacterBufferRange 结构的新实例。Initializes a new instance of the CharacterBufferRange structure from a unmanaged character string. |
CharacterBufferRange(Char[], Int32, Int32) |
从字符数组初始化 CharacterBufferRange 结构的新实例。Initializes a new instance of the CharacterBufferRange structure from a character array. |
CharacterBufferRange(String, Int32, Int32) |
从字符串初始化 CharacterBufferRange 结构的新实例。Initializes a new instance of the CharacterBufferRange structure from a character string. |
属性
CharacterBufferReference |
获取对字符串的字符缓冲区的引用。Gets a reference to the character buffer of a string. |
Empty |
获取一个空的字符串。Gets an empty character string. |
Length |
获取文本源字符存储区中字符的数目。Gets the number of characters in the text source character store. |
方法
Equals(CharacterBufferRange) |
确定 CharacterBufferRange 对象是否等于当前的 CharacterBufferRange 对象。Determines whether the CharacterBufferRange object is equal to the current CharacterBufferRange object. |
Equals(Object) |
确定指定的对象是否等于当前 CharacterBufferRange 对象。Determines whether the specified object is equal to the current CharacterBufferRange object. |
GetHashCode() |
用作 CharacterBufferRange 的哈希函数。Serves as a hash function for CharacterBufferRange. 它适用于哈希算法和数据结构(如哈希表)。It is suitable for use in hashing algorithms and data structures such as a hash table. |
运算符
Equality(CharacterBufferRange, CharacterBufferRange) |
比较两个 CharacterBufferRange 字符串是否相等。Compare two CharacterBufferRange strings for equality. |
Inequality(CharacterBufferRange, CharacterBufferRange) |
比较两个 CharacterBufferRange 字符串是否不相等。Compare two CharacterBufferRange strings for inequality. |