Bewerken

Share via


CharacterBufferRange Struct

Definition

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
CharacterBufferRange
Implements

Constructors

CharacterBufferRange(Char[], Int32, Int32)

Initializes a new instance of the CharacterBufferRange structure from a character array.

CharacterBufferRange(Char*, Int32)

Initializes a new instance of the CharacterBufferRange structure from a unmanaged character string.

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