CharacterBufferRange Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Inheritance
- Implements
Constructors
CharacterBufferRange(Char*, Int32) |
Initializes a new instance of the CharacterBufferRange structure from a unmanaged character string. |
CharacterBufferRange(Char[], Int32, Int32) |
Initializes a new instance of the CharacterBufferRange structure from a character array. |
CharacterBufferRange(String, Int32, Int32) |
Initializes a new instance of the CharacterBufferRange structure from a character string. |
Properties
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. |
Methods
Equals(CharacterBufferRange) |
Determines whether the CharacterBufferRange object is equal to the current CharacterBufferRange object. |
Equals(Object) |
Determines whether the specified object is equal to the current CharacterBufferRange object. |
GetHashCode() |
Serves as a hash function for CharacterBufferRange. It is suitable for use in hashing algorithms and data structures such as a hash table. |
Operators
Equality(CharacterBufferRange, CharacterBufferRange) |
Compare two CharacterBufferRange strings for equality. |
Inequality(CharacterBufferRange, CharacterBufferRange) |
Compare two CharacterBufferRange strings for inequality. |
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈